[Users] swap space?
Kirill Korotaev
dev at sw.ru
Wed Aug 22 03:31:30 EDT 2007
Steve Wray wrote:
> Hi there,
> I'm noticing that 'free' shows no swap space in a VE.
>
> I had a good dig through the wiki and man pages and I can't find any
> references to being able to configure a VE to have swap (of its own).
That's correct. You can't control VE swap space directly.
Kernel decides itself what should be preempted to swap in the system
and which data is most rarely used.
This is more efficient from overall performance point of view then having
a separate swap space assigned to each VE and used when VE goes higher some limit.
> Is this something thats abstracted away (ie the VE gets to use the hosts
> swap as needed) or is there a way to configure swap availability for
> each VE?
"the VE gets to use the hosts swap as needed"
You get it right. In future versions we likely will have real RAM and SWAP limits
and VE will behave like a real std server, but as I said I still wouldn't recommend
to configure it like that cause disk I/O bandwidth which is used for swapping
is a scare resource and it's not worth swapping out something when there is global
RAM available still.
Thanks,
Kirill
More information about the Users
mailing list