HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Swap on NFS?
Operating System - HP-UX
1832659
Members
3301
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 11:30 AM
02-04-2003 11:30 AM
We have a new rp2470 with 2G of memory. It has 2 internal 18G drives that will house the OS. It will be connected to a NetApp Filer(NAS) for its data(NFS). In our old configs (L2000 and a 12H), we would add some swap on the 12H for performance reasons based on posts on the forum.
Now with the NAS, what should be my strategy be for adding swap?
Can you add swap via NFS?
Based on 2G of memory, how much swap should I add?
Currently all that is configured is the default 256MB on vg00/lvol2.
Thanks again,
Greg
Now with the NAS, what should be my strategy be for adding swap?
Can you add swap via NFS?
Based on 2G of memory, how much swap should I add?
Currently all that is configured is the default 256MB on vg00/lvol2.
Thanks again,
Greg
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 11:38 AM
02-04-2003 11:38 AM
Solution
Greg,
Even if you can add swap via NFS, it would be mired in overhead and terribly, terribly slow. The only way you could survive would be if you never swapped.
You would be better off to
1) buy some more memory - 2G is not very much nowdays
2) use some of your internal drive for at least 1x RAM in swap space
Pete
Pete
Even if you can add swap via NFS, it would be mired in overhead and terribly, terribly slow. The only way you could survive would be if you never swapped.
You would be better off to
1) buy some more memory - 2G is not very much nowdays
2) use some of your internal drive for at least 1x RAM in swap space
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 11:42 AM
02-04-2003 11:42 AM
Re: Swap on NFS?
Yes, you can add NFS swap (in fact, diskless workstations had to use it) but it will be a dog. My advice, unless you can't avoid it, is to not use network swap.
My approach, would be to enable pseudo-swap and monitor swap usage. If you don't need the swapspace don't add it. If you do need it, add device swap on your boot disk but set it to a priority other than 1 so that the primary swap and the additional swap don't interleave on the same disk.
I would definitely mirror any device swap so that a disk failure doesn't kill you.
My approach, would be to enable pseudo-swap and monitor swap usage. If you don't need the swapspace don't add it. If you do need it, add device swap on your boot disk but set it to a priority other than 1 so that the primary swap and the additional swap don't interleave on the same disk.
I would definitely mirror any device swap so that a disk failure doesn't kill you.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 12:36 PM
02-04-2003 12:36 PM
Re: Swap on NFS?
Hi Greg,
Definitely don't do it.
NFS, by default, uses the UDP protocol & as such has no error checking at the transport level. I would certainly not want to let any thing that's coming in/out of memory to traverse the network w/o error checking.
Now, one can setup NFS to use TCP, but you'll still see miserable performaance as earlier noted.
My 2 cents,
Jeff
Definitely don't do it.
NFS, by default, uses the UDP protocol & as such has no error checking at the transport level. I would certainly not want to let any thing that's coming in/out of memory to traverse the network w/o error checking.
Now, one can setup NFS to use TCP, but you'll still see miserable performaance as earlier noted.
My 2 cents,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP