- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Swap size
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
05-03-2004 10:39 PM
05-03-2004 10:39 PM
Swap size
Hi,
I am using top to find swap size. Is it the righ way? Or do you know any other command like swapinfo or swap ...etc in linux.
TIA
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 10:41 PM
05-03-2004 10:41 PM
Re: Swap size
HTH
bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2004 10:46 PM
05-03-2004 10:46 PM
Re: Swap size
man free
Peace, R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 06:42 AM
05-04-2004 06:42 AM
Re: Swap size
on my systems it is actually /proc/swaps
containing this information not /proc/swap/xxx
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2004 09:29 AM
05-04-2004 09:29 AM
Re: Swap size
What about
cat /proc/meminfo
you obtain memory information including the swap.
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2004 05:37 PM
05-06-2004 05:37 PM
Re: Swap size
We ususally take about 1.5 times the total memory size.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 08:57 AM
05-23-2004 08:57 AM
Re: Swap size
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 09:11 AM
05-23-2004 09:11 AM
Re: Swap size
If the server is going to be overloaded and asked to do more than its rated for historically, 2.0 to 2.5 times main memory is as far as you can go with swap.
If you want a server that is very efficient, you can cut it down to 1.5 times main memory.
I've been running a production web server at swap slightly less than main memory for quite some time. I got it with 256 MB and did a 1.0 GB upgrade on it while it was in production. Since it was in production it didn't pay to expand swap for a web server.
So the answer varies.
I will tell you than on an experimental box, I once went 4.0 times RAM. Using that box was like watching grass grow.
You pay your money, you take your choice.
Wasn't this thread originally about how to check swap?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2004 08:56 PM
05-23-2004 08:56 PM
Re: Swap size
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 12:28 AM
05-24-2004 12:28 AM
Re: Swap size
you can get swap info different commands.
I always try to get info from proc.
cat /proc/swaps
cat /proc/meminfo
vmstat -s will give you a detailed info.
regards,
sam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 12:44 AM
05-24-2004 12:44 AM
Re: Swap size
I ran a box without any swap at all for a while (had no choice). Worked fine but then I was fairly certain I wouldn't run out of RAM. Isn't Linux great :)
P.S. No points for this aimless ramble of a post please
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2004 06:45 AM
06-11-2004 06:45 AM
Re: Swap size
it's linux magic we can live WITHOUT swap.
but I would like to find out the balance point for using swap.
here is info from Linux kernel developers.
http://kerneltrap.org/node/view/3202
Cheers !
YJ