I'm working on an app that parses a lot of small text files, in the order of 20000+
When the files are cached, the parsing goes 100 times faster.
The directories and files are known advanced.
Is there a way to order caching of a specified list of firectories/files?
Re: caching of a specified list of firectories/files?
None that I know of, but noone's stopping you from writing a kernel module to provide that functionality.
readahead ?
I don't know any for caching by name but if you open the file you want to cache, there is readahead(2).
sys_readahead(int fd, loff_t offset, size_t nb);
bye
Thanx! I'll look into that.
Thanx! I'll look into that.
Ok. I'm quite a noob on this
Ok.
I'm quite a noob on this subject.