Mailinglist Archive: opensuse (2217 mails)
| < Previous | Next > |
Re: [opensuse] howto test swap? [was RAM]
- From: Bill Anderson <bill@xxxxxxxxxxxxxxxxx>
- Date: Thu, 20 Sep 2007 14:28:16 -0600
- Message-id: <46F2D7E0.5050005@xxxxxxxxxxxxxxxxx>
Carlos E. R. wrote:
Bill Anderson
WW7BA
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----Objects for the dentry and inode remain in the cache, since there is a reference to them. The kernel even keeps objects around for which their is no longer a file object. Of course, these entries are discarded if there is a need for the memory. You can see all this in /proc/slabinfo.
Hash: SHA1
The Thursday 2007-09-20 at 09:53 -0600, Bill Anderson wrote:
This paging concept has been around for awhile. Even Unix has doesn't pagekernel only needs to send the anonymous memory pages of an application to swap space, the text (code) can be retrieved from the disk file for the application.Which is probably slower than just using swap for all (instead of seeking
all around the disk).
text to swap, as the writes are just too expensive. With a good elevator
algorithm the cost of seeks is minimal.
I know, even windows uses that method. But the real reason was that swap space was expensive, when the method was invented; that is no longer the case.
There is a noticeable difference in speed from reading code from each respective file than compared to read from contiguous raw swap space.
It can be worse if it first have to read the inode, then the code, which I think it might do.
- -- Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFG8qr6tTMYHG2NR9URAqloAJ4+TDS7DztpWeNVOCc1cLyjPXj8UwCghQ1T
BIuRTiFAj4RcESHHEUFOiiE=
=zZva
-----END PGP SIGNATURE-----
Bill Anderson
WW7BA
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |