moved bsmgr benchmark code into main module; use in xen_test