NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xen Dom0 vs. DomU disk I/O



John,

my disk line looks like this:

disk = [ 'file:/opt/xen/vm00.img,0x1,w' , 'file:/opt/xen/NetBSD-6.0-amd64.iso,0x04,r' ]

The disk image was created with qemu-img-xen and is assigned to a vnd device. I suspect that it is a sparse file.

Is there a better solution (LVM perhabps? :)


Regards,

Stephan

PS: Nobody using a NetBSD based Dom0??


2012/11/22 John Nemeth <jnemeth%victoria.tc.ca@localhost>
On Apr 14,  2:30am, Stephan wrote:
}
} both Dom0 und DomU are NetBSD 6.0 amd64 release. The hypervisor is Xen 4.1
} from current pkgsrc. The filesystem is a default FFSv2:
}
} /dev/xbd0a on / type ffs (log, local)
}
} I have done the testing like this:
}
} vm00# dd if=/dev/zero of=myfile bs=64k count=1000
} 1000+0 records in
} 1000+0 records out
} 65536000 bytes transferred in 11.493 secs (5702253 bytes/sec)
}
} On the Dom0 I see this:
}
} bsd1# dd if=/dev/zero of=myfile bs=64k count=1000
} 1000+0 records in
} 1000+0 records out
} 65536000 bytes transferred in 0.672 secs (97523809 bytes/sec)

     What does the "disk" line in the config for the domU look like?

}-- End of excerpt from Stephan



Home | Main Index | Thread Index | Old Index