Hi Folks,

for those who build Distributions or want to try new things first: today
Linus merged much of our patches into the Bitkeeper tree,
including new development for virtual server integration:
- the DCSS block device driver now has a new parameter:
        as kernel parameter
"dcssblk.segments=SEGONE(local),SEGTWO,SEGTHREE" will load SEGONE
nonshared, and SEGTWO,SEGTHREE shared.
        as module parameter "segments=..." (same)
- the extmem code that loads DCSSes has been rewritten and improved:
        better error messages (including VM diag condition code when diag
fails)
        better usability when switching between shared/nonshared
        support for segments that mix EW and EN parts (for Rob van der
Heij style swap segments):
                only EW or EN chunks allowed
                all chunks need to be contiguous (no gaps in the segment)
                maximum 6 chunks
- and last but not least there is support for #cp def store config that
enables using DCSSes in large-memory guests [has been there for a while
already]

All changes are supposed to be integrated in 2.6.10. With these changes,
it will then be very handy to use DCSS as ultra-fast swap device:
create a large dcss, for example from 256m to 1960m:
#cp defseg SWAPPING 10000-10000 EW 10001-7a7ff EN
#cp def store 2g
#cp saveseg swapping
#cp def store 256m

<boot linux with class E privileges>
have dcssblk built-in (not as module), and add the kernel parameter
"dcssblk.segments=SWAPPING"

<reboot linux with kernel parameter active>
run mkswap: mkswap /dev/dcssblk0
save swap segment: echo "1" >/sys/devices/dcssblk/SWAPPING/save
add this line to /etc/fstab: /dev/dcssblk0 swap swap defaults 0 0
type swapon -a, and look at /proc/swaps to verify that everything worked
fine

Note that the current xip2 patch on linuxvm.org cannot be applied against
2.6.10 anymore, it needs to be adapted to the new (fixed) extmem
interface....

with kind regards
Carsten Otte
--
omnis enim res, quae dando non deficit, dum habetur et non datur, nondum
habetur, quomodo habenda est

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to