Re: Swap overdraft

1996-12-06 Thread H C Lai
From: H C Lai [EMAIL PROTECTED] Is there a way to make Linux run programme which requires more virtual memory than the system can provide through real memory and swap ?? Some one said : Linux always runs in over commited mode. Pages are only used if a program is writing to it. And yes, this

Re: Swap overdraft

1996-12-06 Thread Bill Roman
H C Lai wrote: Thanks for all the replies so far. The impression I get is that Linux does support the 'over-commitment' mode. Kernel 2.0.0 definitely does not support this. I have a ~10 lines of small fortran test programme which basically creates a HUGE array in a common block and then

Re: Swap overdraft ?

1996-12-05 Thread Bruce Perens
From: H C Lai [EMAIL PROTECTED] Is there a way to make Linux run programme which requires more virtual memory than the system can provide through real memory and swap ?? I wasn't aware that Linux _needed_ this facility. The OS has a choice of mapping your pages when you ask for them, or mapping

Re: Swap overdraft ?

1996-12-05 Thread Bernd Eckenfels
Hello, This might explain some strange problems I've been having. Is there a way to to turn this off? No. You can only add some swap to your system if you reach the mimit. AFAIK there is somewhere a small 'daemon' which adds swap if needed. Of course the swap needs to be reserved, first. You

Re: Swap overdraft ?

1996-12-05 Thread Bruce Perens
Bernd Eckenfels wrote: Linux always runs in over commited mode. Pages are only used if a program is writing to it. And yes, this may crash the System if is trashing cause of fullswap. From: Ami Ganguli [EMAIL PROTECTED] This might explain some strange problems I've been having. Is there a

Re: Swap overdraft ?

1996-12-05 Thread Bernd Eckenfels
Hi, Bruce: No, but if you add some swap space you can test if that's the problem. If you can find an empty partition, you can set it up with mkswap and swapon to be a second swap partition. If that works, you can add it to /etc/fstab so that it's started automaticaly. for testing or