Re: Swap vs No Swap.

Rik van Riel (riel@conectiva.com.br)
Thu, 22 Nov 2001 06:50:38 -0200 (BRST)


On Wed, 21 Nov 2001, war wrote:

> I do not understand something.
> How can having swap speed ANYTHING up?
>
> RAM = 1000MB/s.
> DISK = 10MB/s
>
> Ram is generally 1000x faster than a hard disk.

This also means that the the caching of files from your
filesystem (say, /usr/bin/netscape or /lib/libc.so) is
1000x faster than reading them from disk.

> No swap = fastest possible solution.

Not true if having no swap means you do not have enough
memory to cache /lib/libc.so ;)

regards,

Rik

-- 
Shortwave goes a long way:  irc.starchat.net  #swl

http://www.surriel.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/