1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

dm-ioband/benchmark/xenpart

Bandwidth control on a per Xen virtual block device basis

Test System

Linux kappa.local.valinux.co.jp 2.6.18-53.1.13.el5xen #1 SMP Tue Feb 12 14:04:18 EST 2008 i686 athlon i386 GNU/Linux
Xen reported: 2004.226 MHz processor.
CPU0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ stepping 02
Memory: 879528k/909876k available (2049k kernel code, 21604k reserved, 844k data, 168k init, 164412k highmem)
ata1.00: ATA-7: ST3250620AS, 3.AAJ, max UDMA/133
ata1.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata1.00: configured for UDMA/133
  Vendor: ATA       Model: ST3250620AS       Rev: 3.AA
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 488397168 512-byte hdwr sectors (250059 MB)
ata3.00: ATA-7: ST3808110AS, 3.ADJ, max UDMA/133
ata3.00: 156250000 sectors, multi 16: LBA48 NCQ (depth 0/32)
ata3.00: configured for UDMA/133
  Vendor: ATA       Model: ST3808110AS       Rev: 3.AD
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sdb: 156250000 512-byte hdwr sectors (80000 MB)

Test procedure

  1. Prepare two partitions sda11 and sda12.
  2. Create two ioband devices ioband1 and ioband2 on each partition.
  3. Give weight of 20 and 10 to each ioband device respectively.
  4. Create two virtual machines that using the ioband device as Xen virtual machine's disk.
  5. Run 128 processes issuing random read/write direct I/O with 4KB data on each virtual machine at the same time respectively.
  6. Count up the number of I/Os which have done in 60 seconds.


Fig. Block diagram

Result


Fig. The number of I/Os on each virtual machine

Attachments