![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Partition 1 swap not mounting ? | jack2 | Filesystems, Disks and Memory | 2 | 03-24-2009 10:42 AM |
| swap partition showing mounted in df -h | pshelke | SUN Solaris | 1 | 02-14-2008 02:47 AM |
| swap partition? | byblyk | Linux | 7 | 05-28-2004 02:44 PM |
| Linux Swap Partition | primal | UNIX for Dummies Questions & Answers | 2 | 01-07-2002 12:37 PM |
| Swap Partition Space | I[X]ION | UNIX for Dummies Questions & Answers | 1 | 08-24-2001 11:00 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I'm not sure I follow you. How does swap space help demand-paging page in things not swap-related? I know Windows requires every bit of mapped memory to be backed by swap, but didn't think UNIX had this limitation...
|
|
||||
|
HP-UX has indeed this bizarre approach by default and is the only current Unix lacking virtual swap. This design limitation can be partially overcome by enabling pseudo-swap.
Overcomitting memory is a different and dubious beast. |
|
||||
|
You are correct however Scrutinizer and I somewhat derailed the discussion toward HP-UX and Solaris behaviors.
Linux, which is definitely on topic in this thread, is different as it overcommits memory. That means it doesn't care if allocation can be fulfilled when initially asked for by the program, unlike the Unix versions we were talking about. |
|
||||
|
Trivial to disable. echo 2 > /proc/sys/vm/overcommit_memory ; echo 100 > /proc/sys/vm/overcommit_ratio
But it's useful, as just demonstrated; there's plenty of environments that don't have disk space to throw away like that. And somehow the world never ended from it despite all predictions No OS can run anything without sufficient memory, in the end it's just another strategy. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|