Thursday, June 19, 2008
9p/virtio Slides Available
The slides I presented at KVM forum on using 9p over virtio to provide a paravirtualized file service are available on the KVM wiki
svn co svn://xcpu.org/sxcpu/trunk sxcpu
cd sxcpu
make
sudo make install
To try things out on the same host (single system, no client server) % su % ssh-keygen -t rsa -f admin_key % mkdir /etc/xcpu % cp admin_key* /etc/xcpu % xcpufs & % xgroupset 127.0.0.1 root 0 % xuserset 127.0.0.1 root 0 root /root/.ssh/id_rsa.pub % xrx 127.0.0.1 /bin/date To setup a pre-existing cluster with xcpu On the front end machine (as root): % ssh-keygen -t rsa -f admin_key % mkdir /etc/xcpu % cp admin_key* /etc/xcpu (copy admin_key to each back end node - below example with ssh) % ssh root@each_back_end_server mkdir /etc/xcpu % scp admin_key root@each_back_end_server:/etc/xcpu To setup just the compute node (back-end server) % xcpufs & Then back on front-end node: % sudo xgroupset % sudo xuserset ~/.ssh/id_rsa.pub
% xrx /bin/date

And here is the result between two partitions on KVM comparing NFS, 9p, and local virtualized disk: (9p cached is loose cache mode, but since the working set is double the memory of the partition this actually worked against it):
Put block and get block are equivilent to the write_block and read_block of the older graph. Where 9p used to edge out NFS on reads, we now are a good deal worse. Our write performance looks like its as bad as it used to be and rewrite is worse.
We finally worked out the remaining infrastructure issues and are now able to cpu(1) to both I/O nodes (over the Ethernet) and cpu nodes (over the tree network). The cpu nodes are also able to talk to each other over the torus network.