Re: headsup: swap_pager.c
From: David Schultz (das_at_freebsd.org)
Date: 08/01/03
- Previous message: M. Warner Losh: "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: Fri, 1 Aug 2003 09:51:50 -0700 To: Poul-Henning Kamp <phk@phk.freebsd.dk>
On Fri, Aug 01, 2003, Poul-Henning Kamp wrote:
> In message <20030801083628.GB56492@skywalker.creative.net.au>, Adrian Chadd wri
> tes:
> >On Fri, Aug 01, 2003, Poul-Henning Kamp wrote:
> >
> >> >Can you please describe how the interface between ccd(4) and the
> >> >swap subsystem will work? I like this idea, but it isn't
> >> >immediately obvious how you plan to implement striping based on
> >> >load and dynamic addition and removal of swap space.
> >>
> >> ccdconfig -c ccd0 128 0 /dev/da0b /dev/da1b /dev/da2b
> >> swapon /dev/ccd0
> >
> >.. and if I want to add another swap device, will that work?
>
> Yes, but it will of course not be striped with the rest, it will
> be laid out sequentially.
>
> And as a side effect you will not run into the NSWAP=4 limitation
> any more.
Aah, okay. That's both a small improvement and a small regression
in one. The point of the static striping was to allow you to add
swap devices and have them be automatically interleaved, so of
course you can ``fix'' its limitations by removing it completely.
I was kinda hoping you had a more flexible (albeit complex) plan
in mind that would allow swap space to be striped on the fly based
on disk load, free space on each disk, etc.
_______________________________________________
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: M. Warner Losh: "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
- diskdump using swap device defined as a logical volume
... I was trying to enable diskdump using a swap space, ... the swap device
defined as /dev/VolGroup00/LogVol00 was ... as suggested in a knowledge base doc) ...
(RedHat) - Re: cannot delete swap
... not enough available other swap space or memory to disable ... stopped long
enough to do swap -d without a reboot. ... Or assuming sufficient filesystem space
exists, ... The delete that after bringing the new dedicated swap device back up. ...
(comp.unix.solaris) - [Patch] Multiple swap files
... I just started using PIII 260MHz with 96MB RAM and 4G HD. ... I didn't create
swap device, but swap space became necessary later. ... Index: addswap ...
(freebsd-current) - who is using swap???
... currently using swap space? ... swap device aside from the swap device
from the boot ... Mail Mobile ... Take Yahoo! ... (SunManagers) - Re: cannot delete swap
... This simply means that the system is using the swap space and there's ... the
swap device. ... Expressed in this posting are my opinions. ... to opinions
held by my employer, Sun Microsystems. ... (comp.unix.solaris)