Mailinglist Archive: opensuse (2217 mails)
| < Previous | Next > |
Re: [opensuse] howto test swap? [was RAM]
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 20 Sep 2007 07:34:05 -0500
- Message-id: <46F268BD.806@xxxxxxxxxxxxxxxxxx>
David C. Rankin wrote:
> Carlos E. R. wrote:
>> The Thursday 2007-09-20 at 06:41 -0500, David C. Rankin wrote:
>>
>>> Ok,
>>> Now I'm confused... After all of the discussion about ram size/swap
>>> size, I decided to try and make my 1G Toshiba P35 laptop start swapping
>>> stuff to the swap file.
>>> I opened everything I could think of, 4 konsoles, 2 Open Office files,
>>> 3 Gimps, 2 Firefox, 2 Kongueror, Kjot, knotes, ksnapshot, kstars,
>>> Amarok, Thunderbird and several more, but the memory required, as shown
>>> by top, *never* exceeded 1G. The more I would open, the more slight
>>> slowness would occur, but I *always* had 13k - 15k of memory left and
>>> *nothing* was ever written to the swap file.
>> It probably was taken from the memory used for buffers. The command
>> 'swapon -s' will also tell you the used swap and where.
>>
>> Just suspend the machine to disk, and get back: you will see that many
>> things will remain swaped out. The computer is slow right after waking up,
>> because needed things are not in ram and have to be read from disk. After
>> a while, it is faster than before because it has got ridden himself of
>> useless chunks in memory that has ben swapped out.
>
> [root Rankin-P35a:/home/david] # swapon -s
> Filename Type Size Used Priority
> /dev/hda5 partition 2104472 0 -1
>
> What is strange is that man swapon says -s is equivalent to cat
> /proc/swaps. I do not have a /proc/swaps to be found. Hmm.. Thoughts?
>
>
Let me correct that. I do have a swaps it has the permissions:
[root Rankin-P35a:/home/david] # ll /proc/swaps
-r--r--r-- 1 root root 0 2007-09-20 07:33 /proc/swaps
The permission would seem to prevent writing to swap. What should the
permissions for swap be?
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
> Carlos E. R. wrote:
>> The Thursday 2007-09-20 at 06:41 -0500, David C. Rankin wrote:
>>
>>> Ok,
>>> Now I'm confused... After all of the discussion about ram size/swap
>>> size, I decided to try and make my 1G Toshiba P35 laptop start swapping
>>> stuff to the swap file.
>>> I opened everything I could think of, 4 konsoles, 2 Open Office files,
>>> 3 Gimps, 2 Firefox, 2 Kongueror, Kjot, knotes, ksnapshot, kstars,
>>> Amarok, Thunderbird and several more, but the memory required, as shown
>>> by top, *never* exceeded 1G. The more I would open, the more slight
>>> slowness would occur, but I *always* had 13k - 15k of memory left and
>>> *nothing* was ever written to the swap file.
>> It probably was taken from the memory used for buffers. The command
>> 'swapon -s' will also tell you the used swap and where.
>>
>> Just suspend the machine to disk, and get back: you will see that many
>> things will remain swaped out. The computer is slow right after waking up,
>> because needed things are not in ram and have to be read from disk. After
>> a while, it is faster than before because it has got ridden himself of
>> useless chunks in memory that has ben swapped out.
>
> [root Rankin-P35a:/home/david] # swapon -s
> Filename Type Size Used Priority
> /dev/hda5 partition 2104472 0 -1
>
> What is strange is that man swapon says -s is equivalent to cat
> /proc/swaps. I do not have a /proc/swaps to be found. Hmm.. Thoughts?
>
>
Let me correct that. I do have a swaps it has the permissions:
[root Rankin-P35a:/home/david] # ll /proc/swaps
-r--r--r-- 1 root root 0 2007-09-20 07:33 /proc/swaps
The permission would seem to prevent writing to swap. What should the
permissions for swap be?
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |