All hail the speed demons (O'Reillynet)
All hail the speed demons (O'Reillynet)
Posted Nov 4, 2005 13:28 UTC (Fri) by nix (subscriber, #2304)In reply to: All hail the speed demons (O'Reillynet) by ekj
Parent article: All hail the speed demons (O'Reillynet)
Sections which are not loaded are not read except if they happen to be in the same page as the loaded sections. You can ignore them except for their disk space consumption.
Posted Nov 7, 2005 15:35 UTC (Mon)
by lypanov (guest, #8858)
[Link] (1 responses)
Posted Nov 7, 2005 23:37 UTC (Mon)
by nix (subscriber, #2304)
[Link]
umm you realize that disks are laid out in fairly large tracksAll hail the speed demons (O'Reillynet)
rather than 4kb sections right?
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.All hail the speed demons (O'Reillynet)
