16 Sep
2014
16 Sep
'14
19:45
On Tue, Sep 16, 2014 at 9:01 AM, Carlos E. R.
About rpm or database coding, Cristian suggested opening the database file with «fopen(3) with "m" mode.. or mmap()».
It won't make much of a difference. The access pattern has to change. One way to preload the database prior to a full scan that is rather easy, is to posix_fadvise the whole file. The kernel may ignore such a large fadvise, so I'm not sure it will work. But if it does, it will be a very easy workaround. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org