Re: headsup: swap_pager.c
From: Andy Farkas (andyf_at_speednet.com.au)
Date: 08/02/03
- Previous message: Poul-Henning Kamp: "Re: headsup: swap_pager.c"
- In reply to: Poul-Henning Kamp: "Re: headsup: swap_pager.c"
- Next in thread: Poul-Henning Kamp: "Re: headsup: swap_pager.c"
- Reply: Poul-Henning Kamp: "Re: headsup: swap_pager.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 3 Aug 2003 00:20:37 +1000 (EST) To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Poul-Henning Kamp wrote:
> >You say
> >"bogo-vnode". Please explain what that means.
>
> A bogos vnode.
More would've been nice.
> >What does "in a pinch" mean??
>
> That for instance you are running out of swap, if NSWAPDEV==1 you cannot
> add another swapdev because the one and only slot is occupied (and the
> device is filled too).
"running out of swap" is a situation I was *not* in, yet my system was
totally unresponsive because it was continuously swapping. The physical
disk could not keep up with page-in demand. How am I supposed to magically
"add" another [physical] disk while the box is spasticly trying to swap
around a 200M plus working-set into 32M physical RAM. When you're box
starts swapping (in *my* experience) your box is fsck'd.
All I'm saying is that whatever you do with the code (and I don't give a
fsck what happens to it) it aint gonna fix, or change, anything. You are
wasting your time. And no, i'm not telling you what or how to code.
> >What do those numbers in kern.malloc mean??
>
> That the corresponding amount of RAM is unchangably occupied by a table
> which is 3/4 empty and therefore nothing else can use that RAM productively.
# sysctl kern.malloc | grep -i swap
SWAP 2 73K 137K 12 64,65536
Again, more explaining would be good.
"corresponding amount of RAM" [you must mean the 73K and 173K values]
"unchangably occupied" [my values change as I add and remove swap devices]
"by a table which is 3/4 empty" [fixed by specifying NSWAPDEV=1]
Please, bash me more...I still dont understand why you are trying to fix
unbroken code... yes, I feel very alone in my crusade...
--
:{ andyf@speednet.com.au
Andy Farkas
System Administrator
Speednet Communications
http://www.speednet.com.au/
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Poul-Henning Kamp: "Re: headsup: swap_pager.c"
- In reply to: Poul-Henning Kamp: "Re: headsup: swap_pager.c"
- Next in thread: Poul-Henning Kamp: "Re: headsup: swap_pager.c"
- Reply: Poul-Henning Kamp: "Re: headsup: swap_pager.c"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- Re: swap size for 2gb 2 processors?
... out a partition magic run on a 120 gb disk, ... The rule of thumb is
2 * RAM size, in your case that would be 4G. ... price for a swap partition has
remained reasonably constant. ... (comp.os.linux.misc) - Re: [ck] swap prefetching merge plans
... After I close some memory demanding aplication that caused huge portion of the memory to be
swapped out to disk, the time needed to swith back to firefox or eclipse is really really shorter.
... And software engeneerers and programmers are really working hard to eat all your RAM
even if you think that "now you have really much". ... I have so much swap because I am
compiling I my packages on tmpfs. ... (Linux-Kernel) - Re: VM system - memory seems to be running out, when its not
... No extra RAM allocation would occur until the pages are used. ... amount of
RAM as a swap space. ... The VM space can have a dedicated area on disk. ...
(comp.unix.solaris) - Re: why the difference in swap value for vmstat output
... > RAM and 56 G of disk swap ... The second is free RAM. ...
< This line left intentionally blank to confuse you. ... (comp.unix.solaris) - Re: why the difference in swap value for vmstat output
... > RAM and 56 G of disk swap ... The second is free RAM. ...
< This line left intentionally blank to confuse you. ... (comp.sys.sun.admin)