On 2015-02-27, Grant Edwards <invalid@invalid.invalid> wrote: > On 2015-02-27, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > Dave Angel wrote: >>> On 02/27/2015 12:58 AM, Steven D'Aprano wrote: Dave Angel wrote: >>>> >>>>> (Although I believe Seymour Cray was quoted as saying that virtual >>>>> memory is a crock, because "you can't fake what you ain't got.") >>>> >>>> If I recall correctly, disk access is about 10000 times slower than RAM, >>>> so virtual memory is *at least* that much slower than real memory. >>>> >>> It's so much more complicated than that, that I hardly know where to >>> start. >> >> [snip technical details] >> >> As interesting as they were, none of those details will make swap faster, >> hence my comment that virtual memory is *at least* 10000 times slower than >> RAM. > > Nonsense. On all of my machines, virtual memory _is_ RAM almost all > of the time. I don't do the type of things that force the usage of > swap.
And on some of the embedded systems I work on, _all_ virtual memory is RAM 100.000% of the time. -- Grant Edwards grant.b.edwards Yow! Don't SANFORIZE me!! at gmail.com -- https://mail.python.org/mailman/listinfo/python-list