readahead could use a update

Tony Nelson tonynelson at georgeanelson.com
Wed Apr 11 12:50:18 UTC 2007


At 12:54 PM +0200 4/11/07, Mark wrote:
>yea but not filling it up completely :P small fast programs are fine aswell.
>i was actually under the impression (before i came in contact with
>readahead a few weeks ago) that the cache was only used for icons,
>internet files and text/image stuff

You have no understanding at all of what the Linux kernel disk cache is for
and how it works.  You have much studying to do.  If you don't want to read
source code or google, try reading old fedora-list archives, where this
user issue comes up fairly often.


>and for radahead.. how can you see how big the readahead cache would be?
>the readahead files only provide paths to the files themselve and i`m not
>that good at linux shell scripting to see the actual cache size.

Sum up the file sizes when making the static list.  Readahead doesn't know
or care, it just calls readahead (2) for each file to read that file into
the kernel disk cache.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20070411/6687dd96/attachment.htm>


More information about the fedora-devel-list mailing list