Don't like ads? PRO users don't see any ads ;-)
Guest

Slow writes to xen virtual disk

By: a guest on May 21st, 2012  |  syntax: None  |  size: 1.24 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. [root@localhost ~]# dd if=/dev/zero of=/dev/xvde bs=1M count=1024  conv=fdatasync
  2. 1024+0 records in
  3. 1024+0 records out
  4. 1073741824 bytes (1.1 GB) copied, 35.6489 seconds, 30.1 MB/s
  5.  
  6. [root@localhost ~]# mkfs.ext3 /dev/xvde
  7. mke2fs 1.39 (29-May-2006)
  8. Filesystem label=
  9. OS type: Linux
  10. Block size=4096 (log=2)
  11. Fragment size=4096 (log=2)
  12. 1310720 inodes, 2621440 blocks
  13. 131072 blocks (5.00%) reserved for the super user
  14. First data block=0
  15. Maximum filesystem blocks=2684354560
  16. 80 block groups
  17. 32768 blocks per group, 32768 fragments per group
  18. 16384 inodes per group
  19. Superblock backups stored on blocks:
  20.         32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
  21.  
  22. Writing inode tables: done
  23. Creating journal (32768 blocks): done
  24. Writing superblocks and filesystem accounting information: done
  25.  
  26. This filesystem will be automatically checked every 32 mounts or
  27. 180 days, whichever comes first.  Use tune2fs -c or -i to override.
  28.  
  29. [root@localhost ~]# mount /dev/xvde emc_storage/
  30. [root@localhost ~]# cd emc_storage/
  31. [root@localhost emc_storage]# dd if=/dev/zero of=file_on_disk bs=1M count=1024  conv=fdatasync
  32. 1024+0 records in
  33. 1024+0 records out
  34. 1073741824 bytes (1.1 GB) copied, 64.4847 seconds, 16.7 MB/s
  35. [root@localhost emc_storage]#