OpenVZ Forum


Home » General » Support » fast shared storage between containers
Re: fast shared storage between containers [message #50795 is a reply to message #50772] Mon, 04 November 2013 17:40 Go to previous messageGo to previous message
wodzpl is currently offline  wodzpl
Messages: 2
Registered: October 2013
Location: Poland
Junior Member
hi folks,

So far I`ve tested with success loop devices [files] created on tmpfs on node and then by bind mount shared to VEs.
This solution is half-measure for me because I was managed to get ~45% slower transfer rate when compared to direct tmpfs mount bind to VE. I assume its too big emulation overhead.

Tmpfs in opposite to ramfs lives in swap and page caches.
VSWAP is located in physical ram.

So I set vswap in VE to size of my ramdisk and then do tests [SizeOfVSWAP=SizeOfTmpfs].
This would work great as planned etc vswap is emulating real swapping to hdd by slowing down my very fast ram sticks ;]
I can image a reason for that feature while using openVZ for vps hostings etc.
But in my case I would like to disable it.

How can I accomplish that?
 
Read Message
Read Message
Read Message
Previous Topic: Possible Bug
Next Topic: problems with centos template and yum
Goto Forum:
  


Current Time: Sun Aug 31 18:15:15 GMT 2025

Total time taken to generate the page: 0.12464 seconds