Hi,
We just discovered, that mounting XFS partition with:
sudo mount -o nobarrier /dev/sda2 /mnt/p1
speeds things up on all machines. The reason is, that the option -o
barrier was added by default to all kernels = 2.6.17, so dakol has
nobarrier, all the others have barrier. By mounting
it turned out the problem is in the XFS filesystem, that is 20x slower,
than the ext3 filesystem. I know that XFS is bad at handling small
files, but 20x times?
Try to play with parameters mentioned in laptop-mode.txt in the Linux
sources.
Then, try to have XFS log area on separate
Try adding 'sync' after both steps and see if that changes performance.
I did, see Note 3 in the wiki. It's actually XFS, that caches things
on amd64, so with sync, the XFS takes 3.5s on amd64 (instead of those
0.5s). But ext3 with sync is still very fast (from 0.2s to 0.4s)
everywhere. So
Does this possibly have to do with buffer flushing choices by the
filesystem? Maybe xfs syncs after some operations (like rm -rf) that ext3
Probably not.
does not.
Try adding 'sync' after both steps and see if that changes performance.
I did, see Note 3 in the wiki. It's actually XFS,
Hi,
I am using cowbuilder for building my packages, because the
initialization takes like 10s, compared to several minutes with
pbuilder on my system. A few days ago, I realized that on one of my
systems, it takes 0.5s only to copy the COW directory. I became
curious and wanted to know why, so I
On Sun, 16 Sep 2007, Ondrej Certik wrote:
I am using cowbuilder for building my packages, because the
initialization takes like 10s, compared to several minutes with
pbuilder on my system. A few days ago, I realized that on one of my
systems, it takes 0.5s only to copy the COW directory. I
6 matches
Mail list logo