On Mon, Nov 01, 1999 at 10:22:08PM +0100, "Guillermo S. Romero / Familia Romero" 
<[EMAIL PROTECTED]> wrote:
> Yes, but Gimp swaps to files, while system normally swaps to partition, and
> if the admin is smart, to a fast disk which main (unique?) task is swapping,
> maybe even sharing swap among a group of disks. Kernels swap is optimized (I
> hope it is, otherwise... argh!), we dunno about Gimp.

The point is that the kernel keyes the swap by memory address (physical or
virtual does not matter). Which means the keys are basically random.

Gimp can use optimized ordering (e.g. group tiles that are near eahc other
near on the medium) that no kernel can use.

Once you start to seek your performance is gone, _no matter_ how fast your
physical swap may be (for linear r/w).

There are obvious exceptions, like nfs, but I think we shouldn´t optimize
for the broken case.

-- 
      -----==-                                             |
      ----==-- _                                           |
      ---==---(_)__  __ ____  __       Marc Lehmann      +--
      --==---/ / _ \/ // /\ \/ /       [EMAIL PROTECTED] |e|
      -=====/_/_//_/\_,_/ /_/\_\       XX11-RIPE         --+
    The choice of a GNU generation                       |
                                                         |

Reply via email to