Nope.  That's PC convention, or I should say, dedicated platform
convention.

SWAPGEN seems to be the defacto standard in defining vdisks for Linux
nowadays.

You need sufficient swap space for Linux.  How you provide it and the
speed(s) of the swap spaces are based on your needs.

You shouldn't normally define a large vdisk for Linux swap.  Linux will
use a next available (instead of first available) when looking for swap
space.  So, eventually the entire disk will be touched.  You may think,
no problem VM will page the old stuff out, which is correct.  But you
will have to have VM page dataset space for the entire vdisk.  That runs
in to quite a bit of space if you have multiple large vdisks.  And it
hits you weeks...months..later when your paging space fills.

I use 3 swap disks in decending priority order.

1.  vdisk  30-50 MB (depending on system)
2.  vdisk  2-4 times bigger then the first swapdisk (unless this is a
test system then I use real disk)
3.  real disk to double the previous swap defined.

If someone is doing something large (so far relinking Oracle counts
here), I don't want the rest of my users paging just so the Oracle
linking can run a little faster.

Once you got a stable Linux system, reduce the real memory size on it,
until you just start swapping, then add some.  It's ok to swap (to
vdisk) in production, when you are actively using Linux.  If response
time is too bad, increase the memory size to the Linux machine by a
little.

But the idea is not to have Linux hanging on to real memory, when the
machine is idle.

In the VM world, we have many other things to do with idle memory, to
have an idle machine keep it<G>.

Tom Duerbusch
THD Consulting

>>> [EMAIL PROTECTED] 11/18/05 1:26 PM >>>
Is there a 1 to 1 correspondence in the size of the VM linux machine
(user
directory entry) and the amount of swap space either mdisk or v-disk?
Linux usually doubles the size of the defined memory.
So, for example,  a Linux guest  is defined with 100 meg,  the swap
size
will usually be around 200meg
Do I need to define a v-disk size of 200meg?
Also, what is the latest and greatest way of setting up a v-disk?
I've
found different examples. Some are a few years and the technique are
applicable to the technology back then.
Procedures have progressed etc.  I didn't want to spend time on using
an
old technique when a newer more stream lined method would work.
Thanks,
Steve G.

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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