On Nov 26, 2007 12:20 AM, Ala'a Ibrahim <[EMAIL PROTECTED]> wrote:
> hi,
> Today, at work, my machine got really slow, although it's supposed to be a
> good machine, Core Due/ 1 GB RAM, which is usually a good machine, I'm
> running Ubuntu 7.10 on it, I checked the memory, I found out that I'm using
> 600 MB from the memory, and about 200 from swap,... like why? why is the
> swap even used, isn't it supposed to be used only when I'm out of memory???,
> that's how I think it should. so I tried turning off the swap ( sudo swapoff
> -a ), and the machine worked like a charm, never experienced such
> performance on this machine before.
>
> I checked my laptop, (AMD Turion 64/ 1.5 GB RAM), well the swap is not even
> touched. when I went home I checked my other machine, who has been running
> slow for a while (Centrino Due/ 1GB RAM), which for a while I kept thinking
> it's slow cause it's always low on space, it was only using 400 MB of the
> RAM, and 300 MB from swap, turned off the swap, and it's running like a
> charm, I haven't seen it that way for quite some time.
>
> So, I was thinking, would it be better for systems which have enough RAM, to
> be set without a swap space? to force everything to be in the RAM, any
> ideas?
>
> --
>                                  Ala'a A. Ibrahim
> http://guru.alaa-ibrahim.com/
>  >
>


If you can guarantee that you will never use more virtual memory than
the physical memory you have then by all means, turn swap off :)

Zaid

-- 
---------------------------
Netiquette -> http://www.dtcc.edu/cs/rfc1855.html
Netiquette Nazi ->
http://redwing.hutman.net/%7Emreed/warriorshtm/netiquettenazi.htm
---------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Jolug" group.
 To post to this group, send email to [email protected]
 To unsubscribe from this group, send email to [EMAIL PROTECTED]
 For more options, visit this group at 
http://groups.google.com/group/Jolug?hl=en-GB
-~----------~----~----~----~------~----~------~--~---

رد على