LWN.net Logo

All hail the speed demons (O'Reillynet)

All hail the speed demons (O'Reillynet)

Posted Nov 7, 2005 15:35 UTC (Mon) by lypanov (subscriber, #8858)
In reply to: All hail the speed demons (O'Reillynet) by nix
Parent article: All hail the speed demons (O'Reillynet)

umm you realize that disks are laid out in fairly large tracks
rather than 4kb sections right?


(Log in to post comments)

All hail the speed demons (O'Reillynet)

Posted Nov 7, 2005 23:37 UTC (Mon) by nix (subscriber, #2304) [Link]

Yes. Even so, that large chunk containing a LOADed section would be read *whether or not the other parts of it happen to be LOADed or not*, so, again, the worst that .comment does is to reduce packing efficiency of LOADed sections. This is hardly a killer --- given that we have no effective tools to improve locality of reference in shared libraries anyway, we're wasting far more disk accesses on unnecessary paging due to poor packing of accessed functions.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds