1830618 Members
2507 Online
110015 Solutions
New Discussion

Increasing RAM and SWAP

 
Pedro Cirne
Esteemed Contributor

Increasing RAM and SWAP

Hi,

I'm adding 8Gb RAM to my rp7410 that already has 8Gb.

My SWAP at the moment is:
root@PORSX001:/# swapinfo -a
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 969400 3224904 23% 0 - 1 /dev/vg00/lvol2
dev 4096000 964124 3131876 24% 0 - 1 /dev/vg00/swap2
reserve - 5173944 -5173944
memory 6607728 3410624 3197104 52%


What's the best option, to add another swap device of 8Gb or remove /dev/vg00/swap2 and add a new one with 12Gb?

Thks,

Pedro
6 REPLIES 6
Muthukumar_5
Honored Contributor

Re: Increasing RAM and SWAP

Read this,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=790791

hth.
Easy to suggest when don't know about the problem!
MarkSyder
Honored Contributor

Re: Increasing RAM and SWAP

How many discs are in your system? It's best to spread the swap across all your discs to improve performance.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Pedro Cirne
Esteemed Contributor

Re: Increasing RAM and SWAP

Hi,

Just the 2 internal disks mirrored.

Enjoy :)

Pedro
Just-In
Occasional Advisor

Re: Increasing RAM and SWAP

Hi Pedro,.,

To the best of my knowledge, it is better to distribute the DEVICE SWAP. You can give same PRIORITY for all swap space for equal swap load distributions.

Shiv
Pete Randall
Outstanding Contributor

Re: Increasing RAM and SWAP

Pedro,

I wouldn't worry about spreading the swap across disks - if you're suffering from swapping, the minor performance improvement from speading the I/O will never be noticed.

Using that same logic that you never want to swap anyway, I would suggest that you just add another swap device. It will be much simpler to accomplish and just as effective.


Pete

Pete
Pedro Cirne
Esteemed Contributor

Re: Increasing RAM and SWAP

Hi Pete,

I'm back to work :-)

I agree with you!

Enjoy :-)

Pedro