RE: [CentOS] Upgrade ram and what to do with SWAP PARTITION ?

2008-02-13 Thread Masters IT Gmail
I have a swap file of 512mb because i was using 256mb, now i already have
512mb ram installed and the swap continue on 512mb, the system is acting
better now.

System monitor says:

CPU History
3.0 or 4.0 %
User Memory:
224mb of 495mb
Used swap:
0 bytes of 512mb

I have running one windows of firefox while viewing in system monitor.
Don't know if this values are okay I think they are normal but I don't have
to much experience.

Do you think I need to make some change in swap partition like going to 1gb,
if so, where can I find some help in doing that?

Thanks for your help.

George from Uruguay.






-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
de Michael A. Peters
Enviado el: Miércoles, 13 de Febrero de 2008 06:07 p.m.
Para: CentOS mailing list
Asunto: Re: [CentOS] Upgrade ram and what to do with SWAP PARTITION ?

Masters IT Gmail wrote:
 Now that I understand that i need more ram after i add this ram to my
 centos, what I need to do in order to increase my swap partition, thanks
in
 advance.

How much swap do you currently have?
You may not need to increase swap at all.

If you do - I haven't tried this method in CentOS (or any OS) but it 
should work:

https://help.ubuntu.com/community/SwapFaq#head-75ffcb00cefe143fc380f84d7ea92
03f16a596d0

It creates a swap file instead of a swap partition. Much easier than 
finding unpartitioned space ...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Upgrade ram and what to do with SWAP PARTITION ?

2008-02-13 Thread Masters IT Gmail
Sorry i miss that link that you give me i am reading now thanks for the tip
i am going to try. Thanks for all!

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
de Michael A. Peters
Enviado el: Miércoles, 13 de Febrero de 2008 06:07 p.m.
Para: CentOS mailing list
Asunto: Re: [CentOS] Upgrade ram and what to do with SWAP PARTITION ?

Masters IT Gmail wrote:
 Now that I understand that i need more ram after i add this ram to my
 centos, what I need to do in order to increase my swap partition, thanks
in
 advance.

How much swap do you currently have?
You may not need to increase swap at all.

If you do - I haven't tried this method in CentOS (or any OS) but it 
should work:

https://help.ubuntu.com/community/SwapFaq#head-75ffcb00cefe143fc380f84d7ea92
03f16a596d0

It creates a swap file instead of a swap partition. Much easier than 
finding unpartitioned space ...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Upgrade ram and what to do with SWAP PARTITION ?

2008-02-13 Thread Ross S. W. Walker
Masters IT Gmail wrote:
 
 Sorry i miss that link that you give me i am reading now 
 thanks for the tip
 i am going to try. Thanks for all!
 
 -Mensaje original-
 De: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] En nombre
 de Michael A. Peters
 Enviado el: Miércoles, 13 de Febrero de 2008 06:07 p.m.
 Para: CentOS mailing list
 Asunto: Re: [CentOS] Upgrade ram and what to do with SWAP PARTITION ?
 
 Masters IT Gmail wrote:
  Now that I understand that i need more ram after i add this 
 ram to my
  centos, what I need to do in order to increase my swap 
 partition, thanks
 in
  advance.
 
 How much swap do you currently have?
 You may not need to increase swap at all.
 
 If you do - I haven't tried this method in CentOS (or any OS) but it 
 should work:
 
 https://help.ubuntu.com/community/SwapFaq#head-75ffcb00cefe143
 fc380f84d7ea92
 03f16a596d0
 
 It creates a swap file instead of a swap partition. Much easier than 
 finding unpartitioned space ...

Yes and with today's kernels it provides the same level of performance.

# dd if=/dev/zero of=/.swapfile bs=1M count=512

# mkswap /.swapfile

fstab:
/.swapfileswapswapdefaults0 0

Or if you use lvm, turn swapoff the lv, lvresize the lv, mkswap the lv
again, then swapon the lv and you have a larger swap, but the swapfile
will at least be contiguous.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


RE: [CentOS] Upgrade ram and what to do with SWAP PARTITION ?

2008-02-13 Thread Masters IT Gmail
Thanks again, i did the change, i follow this steps :
http://www.linuxtopia.org/online_books/centos5/centos5_administration_guide/
centos5_s1-swap-adding.html#s2-swap-creating-file

But I setup bs=1M count=1024  this I learn it from:
https://help.ubuntu.com/community/SwapFaq#head-75ffcb00cefe143fc380f84d7ea92
03f16a596d0
I like it more to do it that way.

Later I reboot my PC and run the command free, it seems that now I am using
my newly created swap file, what a nice start. My linux experience is
starting to like it more, thanks to all for your help, thoughts and time!

George from Uruguay.

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre
de Ross S. W. Walker
Enviado el: Miércoles, 13 de Febrero de 2008 11:10 p.m.
Para: CentOS mailing list
Asunto: RE: [CentOS] Upgrade ram and what to do with SWAP PARTITION ?

Masters IT Gmail wrote:
 
 Sorry i miss that link that you give me i am reading now 
 thanks for the tip
 i am going to try. Thanks for all!
 
 -Mensaje original-
 De: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] En nombre
 de Michael A. Peters
 Enviado el: Miércoles, 13 de Febrero de 2008 06:07 p.m.
 Para: CentOS mailing list
 Asunto: Re: [CentOS] Upgrade ram and what to do with SWAP PARTITION ?
 
 Masters IT Gmail wrote:
  Now that I understand that i need more ram after i add this 
 ram to my
  centos, what I need to do in order to increase my swap 
 partition, thanks
 in
  advance.
 
 How much swap do you currently have?
 You may not need to increase swap at all.
 
 If you do - I haven't tried this method in CentOS (or any OS) but it 
 should work:
 
 https://help.ubuntu.com/community/SwapFaq#head-75ffcb00cefe143
 fc380f84d7ea92
 03f16a596d0
 
 It creates a swap file instead of a swap partition. Much easier than 
 finding unpartitioned space ...

Yes and with today's kernels it provides the same level of performance.

# dd if=/dev/zero of=/.swapfile bs=1M count=512

# mkswap /.swapfile

fstab:
/.swapfileswapswapdefaults0 0

Or if you use lvm, turn swapoff the lv, lvresize the lv, mkswap the lv
again, then swapon the lv and you have a larger swap, but the swapfile
will at least be contiguous.

-Ross

__
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos