LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 11-22-2005, 08:37 AM   #1
zillah
Member
 
Registered: Oct 2004
Posts: 536

Rep: Reputation: 30
Swap double size of the RAM


Is it mandotary that swap partition to be double size RAM for Solaris 10?

Because when I installed FC4 (not solaris), I have chosen the size for swap 500 M, while the size for the RAM is 512 M.

I received this eorro message:

((You have allocated less swap space (502M) than available RAM (512M) on your system. This could negatively impact performance.))
 
Old 11-22-2005, 09:42 AM   #2
genlee
Member
 
Registered: Jul 2003
Distribution: Solaris 8/9, gentoo
Posts: 41

Rep: Reputation: 15
I usually don't go by the 2x ram rule because it depends on your config(hardware and software) how much you need. If you plan on saving a crash dump of your system(incase of failure) by default it is dumped to your swap so you would need atleast enough swap to save an image of your memory. Also if you have less available ram, I generally have more then 2x the amount of swap. It also helps to know how much memory your apps will require. If you are doing a basic server/desktop to mess around with 1GB of total vm would be ok.
 
Old 11-22-2005, 11:14 AM   #3
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Pay also attention than on Solaris, /tmp is by default living in virtual memory, so its size directly depends on the swap + ram size available.

If you have applications that create large files in /tmp, better to have a swap large enough for it.
 
Old 11-22-2005, 11:30 AM   #4
Brian Knoblauch
Member
 
Registered: Jan 2005
Distribution: OpenSuse Tumbleweed
Posts: 288

Rep: Reputation: 39
Quote:
Originally posted by jlliagre
Pay also attention than on Solaris, /tmp is by default living in virtual memory, so its size directly depends on the swap + ram size available.

If you have applications that create large files in /tmp, better to have a swap large enough for it.
Anybody else remember the old BSDi software that always had /tmp as it's own partition, which of course defaulted to only 10MB And then you only find out AFTER getting everything up and running.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Swap double size of the RAM zillah Fedora 3 12-24-2005 07:13 AM
/proc/kcore size doesn't match with physical ram size cash_05 Linux - Newbie 2 06-01-2005 01:23 PM
Why should you give the size of the swap disk as twice the size of RAM vmniza Linux - Newbie 3 09-17-2004 02:13 AM
How do I double the size of my taksbar. zwyrbla Linux - Newbie 1 08-24-2004 12:47 AM
Use RAM as swap??? oneandoneis2 Linux - General 3 08-19-2004 04:48 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration