I experimented with a few more things, but nothing helped. Someone said
run a bonnie++ benchmark to verify the performance. bonnie++ basically
told me what dd did, that svnd backed by a file is slow and svnd backed
by a disk or partition is floppy disk slow.Nonetheless, the bonnie++ results may provide some insight to the
problem for an experienced guru. What I found interesting is that the
CPU usage is really low for writes and rewrites when svnd is backed by
the whole disk. This is also the slowest configuration.It seems like there may be some alignment issues between the underlying
storage device and the svnd device. That's why I was trying all
combinations of block and fragment sizes, cylinders per group,
geometries (CHS) for fdisk, etc. Hopefully someone can shed some light
on this problem.bonnie++ benchmark
------------------wd0d (slow old disk)
Version 1.03 ------Sequential Output------ --Sequential Input-
--Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
/sec %CP
foo.mokaz.com 40M 4956 13 4934 4 2950 2 8622 30 8754 3
183.1 0wd1d (fast new disk)
Version 1.03 ------Sequential Output------ --Sequential Input-
--Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
/sec %CP
foo.mokaz.com 40M 45424 97 42832 38 10362 7 26344 91 47501 17
366.7 1svnd0a (ass. w/ wd1c; fdisk: used disk/bios geometry)
Version 1.03 ------Sequential Output------ --Sequential Input-
--Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
/sec %CP
foo.mokaz.com 40M 230 3 235 2 3609 63 6786 67 8615 57
131.3 13svnd0a (ass. w/ wd1c; fdisk: used OpenBSD MBR partition geometry)
Version 1.03 ------Sequential Output------ --Sequential Input-
--Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
/sec %CP
foo.mokaz.com 40M 230 3 235 2 3641 61 6594 66 8637 58
137.6 13svnd0a (ass. w/ wd1a; fdisk -c 6659 -h 5 -s 63 -i svnd0)
Version 1.03 ------Sequential Output------ --Sequential Input-
--Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
/sec %CP
foo.mokaz.com 40M 1462 18 1751 18 5404 88 9551 89 13559 83
168.0 14svnd0a (ass. w/ 500MB random data filled file on wd1d)
Version 1.03 ------Sequential Output------ --Sequential Input-
--Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP
/sec %CP
foo.mokaz.com 40M 8085 99 9444 99 6324 93 10517 96 15885 97
202.6 15Clint Pachl wrote:
| Parag Warudkar | BUG: soft lockup - CPU#1 stuck for 15s! [swapper:0] |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 010/196] Chinese: add translation of Codingstyle |
| Andrew Morton | -mm merge plans for 2.6.23 |
git: | |
| Gerrit Renker | [PATCH 24/37] dccp: Processing Confirm options |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Alexey Dobriyan | Re: [GIT]: Networking |
| david | Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49 |
