Re: swapfiles & memory

2003-07-17 Thread Sebastian Kapfer
On Thu, 17 Jul 2003 03:30:11 +0200, Oki DZ wrote: > I forgot, I have these settings too: > echo "1" > /proc/sys/net/ipv4/ip_forward echo "1" > > /proc/sys/net/ipv4/tcp_syncookies echo "1" > > /proc/sys/net/ipv4/tcp_abort_on_overflow echo "600" > > /proc/sys/net/ipv4/tcp_k

Re: swapfiles & memory

2003-07-16 Thread Oki DZ
I forgot, I have these settings too: echo "1" > /proc/sys/net/ipv4/ip_forward echo "1" > /proc/sys/net/ipv4/tcp_syncookies echo "1" > /proc/sys/net/ipv4/tcp_abort_on_overflow echo "600" > /proc/sys/net/ipv4/tcp_keepalive_time echo "60" > /proc/sys/net/

Re: swapfiles & memory

2003-07-16 Thread Oki DZ
On Wed, Jul 16, 2003 at 05:37:41PM -0700, Mike Fedyk wrote: > Please post more information. Software used, versions, timing, etc. Here we go. bdg:~# uname -a Linux bdg 2.4.20-lkcd #3 Tue Jul 1 12:45:14 WIT 2003 i686 unknown unknown GNU/Linuxbdg:~# more /proc/cpuinfo processor : 0 vendor_i

Re: swapfiles & memory

2003-07-16 Thread Mike Fedyk
On Thu, Jul 17, 2003 at 07:12:01AM +0700, Oki DZ wrote: > Hi, > > On every megabyte in swapspace, how much does it take the space in the > memory (RAM)? Is the two times the amount of memory rule basically the > maximum? Problem is, I keep getting "Out of socket memory" error, and > usually the

RE: Swapfiles

2002-04-19 Thread Smith, Brian N.
-Original Message- From: Karl E. Jorgensen [mailto:[EMAIL PROTECTED] Sent: Thursday, April 18, 2002 6:17 PM To: debian-user@lists.debian.org Subject: Re: Swapfiles On Thu, Apr 18, 2002 at 08:44:16AM -0400, Smith, Brian N. wrote: > >John Hasler wrote > >I wrote: > >> Ex

Re: Swapfiles

2002-04-18 Thread Carl Johnson
Joe Bouchard <[EMAIL PROTECTED]> writes: > On Mon, Apr 15, 2002 at 10:34:54PM -0500, Shyamal Prasad wrote: > > "Oki" == Oki DZ <[EMAIL PROTECTED]> writes: > > > > Oki> Hi, On a 128Mbytes machine, how much swap space can it > > Oki> handle? Would it be all right to assign it 384Mbytes?

Re: Swapfiles

2002-04-18 Thread Karl E. Jorgensen
On Thu, Apr 18, 2002 at 08:44:16AM -0400, Smith, Brian N. wrote: > >John Hasler wrote > >I wrote: > >> Executables, being read-only, are mapped directly from disk and never > >> use any swap at all. Only data gets mapped to swap. > > >Karsten writes: > >> Is this a GNU/Linux thing or a more gener

Re: Swapfiles

2002-04-18 Thread Mark Lanett
> >> Executables, being read-only, are mapped directly from disk and never > >> use any swap at all. Only data gets mapped to swap. > I am a little puzzled by the comment "executables do not use swap" and I > have to admit computer design is not my forte. You need swap for data because the compu

RE: Swapfiles

2002-04-18 Thread Smith, Brian N.
>John Hasler wrote >I wrote: >> Executables, being read-only, are mapped directly from disk and never >> use any swap at all. Only data gets mapped to swap. >Karsten writes: >> Is this a GNU/Linux thing or a more general Unix/POSIX thing? >Neither. It's a virtual-memory thing. It's the obvi

Re: Swapfiles

2002-04-18 Thread Joe Bouchard
On Mon, Apr 15, 2002 at 10:34:54PM -0500, Shyamal Prasad wrote: > "Oki" == Oki DZ <[EMAIL PROTECTED]> writes: > > Oki> Hi, On a 128Mbytes machine, how much swap space can it > Oki> handle? Would it be all right to assign it 384Mbytes? > > Yes. > > I typically assign twice as much swa

RE: Swapfiles

2002-04-17 Thread Wienand Ian
rg > Subject: Re: Swapfiles > > > But I don't remember clearly if they were able to do paging on 286 > systems. > They were working to support the 386 while I was working there, maybe they > only > had paging on 386, I don't know. I do seem to re

Re: Swapfiles

2002-04-17 Thread Michael D. Crawford
I used to do tech support for Microport System V/AT. It was Unix System V ported to 80286 IBM AT's. When I started work there, Microport had swapping. A program would be read into memory in its entirety, or it would be disk resident. It wasn't paged. A program's memory was swapped out to d

Re: Swapfiles

2002-04-17 Thread David Smead
I remember `demand paging' on the PDP-11, which predates the VAX. -- Sincerely, David Smead http://www.amplepower.com. On 17 Apr 2002, John Hasler wrote: > I wrote: > > Executables, being read-only, are mapped directly from disk and never > > use any swap at all. Only data gets mapped to swap

Re: Swapfiles

2002-04-17 Thread John Hasler
I wrote: > Executables, being read-only, are mapped directly from disk and never > use any swap at all. Only data gets mapped to swap. Karsten writes: > Is this a GNU/Linux thing or a more general Unix/POSIX thing? Neither. It's a virtual-memory thing. It's the obvious thing to do as soon as y

Re: Swapfiles

2002-04-17 Thread Karsten M. Self
on Tue, Apr 16, 2002, John Hasler ([EMAIL PROTECTED]) wrote: > Karsten writes: > > Swap is there for programs that are, er, swapped. > > Executables, being read-only, are mapped directly from disk and never > use any swap at all. Only data gets mapped to swap. Hmm...interesting. References?

Re: Swapfiles

2002-04-17 Thread louie miranda
Your MACHINE MEM X 2 = Your SWAP SPACE thanks, louie miranda (axis0.ath.cx) -- Security Is A Series Of Well-Defined Steps chmod -R 0 / ; and smile :) - Original Message - From: "Oki DZ" <[EMAIL PROTECTED]> To: Sent: Tuesday, April 16,

Re: Swapfiles

2002-04-17 Thread John Hasler
Karsten writes: > Swap is there for programs that are, er, swapped. Executables, being read-only, are mapped directly from disk and never use any swap at all. Only data gets mapped to swap. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI -- To UNSUBSCRIBE, email

Re: Swapfiles

2002-04-16 Thread Karsten M. Self
on Tue, Apr 16, 2002, Oki DZ ([EMAIL PROTECTED]) wrote: > Hi, > > On a 128Mbytes machine, how much swap space can it handle? Would it be all > right to assign it 384Mbytes? I tend toward 2-3 times physical RAM for swap, as swap partitions, on the following basis: - Despite arguments that as

Re: Swapfiles

2002-04-16 Thread Shawn McMahon
begin Oki DZ quotation: > > On a 128Mbytes machine, how much swap space can it handle? Would it be all > right to assign it 384Mbytes? Short answer: yes. Long answer: http://www.tldp.org/LDP/sag/swap-allocation.html Of special interest would be this line: "If your calculated swap space is v

Re: Swapfiles

2002-04-15 Thread Shyamal Prasad
"Oki" == Oki DZ <[EMAIL PROTECTED]> writes: Oki> Hi, On a 128Mbytes machine, how much swap space can it Oki> handle? Would it be all right to assign it 384Mbytes? Yes. I typically assign twice as much swap as RAM, I no longer remember the rationale behind it, but there's nothing wron

Re: swapfiles & 512MB+ RAM?

2001-10-28 Thread nate
MRZ said: > With the price of RAM being what it is, I recently upgraded my > potato box to by 512MB ram. So I now have roughly 640MB RAM with a > 256MB swapfile. > > Now that I have this much physical memory I was wondering if I > could drop the swapfile altogether and reclaim some HD space for >

Re: swapfiles & 512MB+ RAM?

2001-10-28 Thread Jens Gecius
MRZ <[EMAIL PROTECTED]> writes: > With the price of RAM being what it is, I recently upgraded my potato box to > by 512MB ram. > So I now have roughly 640MB RAM with a 256MB swapfile. > > Now that I have this much physical memory I was wondering if I could drop > the swapfile altogether and rec