GNU OS suggestion -- memory "advice"
Anton Rang
rang at cpsin3.cps.msu.edu
Wed Jun 7 08:55:18 AEST 1989
In article <3496 at orca.WV.TEK.COM> andrew at frip.WV.TEK.COM (Andrew Klossner) writes:
> [ stuff about row-major vs. column-major order ]
>
>Well, sure; in column-major order (assuming a non-Fortran language),
>the program is stepping to a new page much more often than in row-major
>order. If a single row is a page or more in size, column-major order
>will touch a new page with every single index iteration. No amount of
>memory advice to the OS can mitigate the result of this pathological
>behavior.
How about asking for a LIFO paging strategy on that section of memory?
+---------------------------+------------------------+
| Anton Rang (grad student) | "VMS Forever!" |
| Michigan State University | rang at cpswh.cps.msu.edu |
+---------------------------+------------------------+
More information about the Comp.unix.wizards
mailing list