This leads me to think that apache is writing the data only at 2k block sizes (or similar). The larger I make the block size the faster it gets (until the 60MB/s max of course). I see that cpu usage is considerably higher with webdav, and some quick write testing seems to correlate that apache is writing files with small block/stripe sizes.įor example using dd I can write at the full 60MB/s with a 1M block size (write 4gb test file):ĭd if=/dev/zero of=testfile.out bs=1M count=4096Īnd if I change bs=2k it seems to be about 25MB/s. The 60MB/s is the max speed of gluster in my setup (I only have a 1gb link between the two nodes, so 1gbit/2 = 500mbit =~ 60mbytes). ![]() I am able to SCP a file onto the box at 60MB/s, so I am surprised that webdav is so much slower. ![]() I'm trying to figure out why my apache/mod_dav setup is so slow.
0 Comments
Leave a Reply. |