swapin_readahead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi:

What's the reason behind:
void swapin_readahead(swp_entry_t entry)
 in mm/memory.c 

Is it just because that it does not cause seek time?
Does swap reads from a swap area also exhibit spacial
locality? i.e. adjacent entries in swap area would
likely be accessed in sequence? (since they were
temporally adjacent before swapping out?)

Would that cause a lot of unnecessary swap readaheads?

I'm doing a measurement, and surprising found that a
lot of swap in readaheads are wasted. I'm not sure if
the measurement is wrong.

Thanks &
regards

jean

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux