Gentoo Archives: gentoo-user

From: Justin Piszcz <jpiszcz@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] XFS FileSystem - Slow Writes
Date: Wed, 30 Aug 2006 23:31:14
Message-Id: Pine.LNX.4.64.0608301925060.2688@p34.internal.lan
In Reply to: Re: [gentoo-user] XFS FileSystem - Slow Writes by Mark Kirkwood
1 On Thu, 31 Aug 2006, Mark Kirkwood wrote:
2
3 > Mark Kirkwood wrote:
4 >> Ow Mun Heng wrote:
5 >>>
6 >>> I've already updated it to the latest based on the suspend2 version.
7 >>> $uname -r
8 >>> 2.6.17-suspend2-r4
9 >>>
10 >>> $eix xfsprogs
11 >>> Available versions: 2.7.3 2.7.11 2.8.10
12 >>> Installed: 2.8.10
13 >>>
14 >>>
15 >>> If not mistaken, the issue, (or barriers if not mistaken) was introduced
16 >>> in the 2.6.17 kernel series.
17 >>> the 2.6.16 series wasn't affected. (I could be wrong, I don't have net
18 >>> access so, I can't verify)
19 >>>
20 >>
21 >> Right - as it happens I'm doing an update today, so will let you know if
22 >> I see any write performance change.
23 >>
24 >
25 >
26 > FWIW, I've updated to 2.6.17 and I don't see any change in performance at all
27 > (215Mb/s reads and 100Mb/s writes).
28 >
29 > Now I'm on the standard source tree:
30 >
31 > $ uname -r
32 > 2.6.17-gentoo-r7
33 >
34 > $ eix xfsprogs
35 > Available versions: 2.7.3 2.7.11 ~2.8.10
36 > Installed: 2.7.11
37 >
38 > which may be a factor.
39 >
40 > The other thing I notice is that my filesystems are all under 50%, whereas
41 > your troublesome one was at 80%or so:
42 >
43 > $ df -m
44 > Filesystem 1M-blocks Used Available Use% Mounted on
45 > /dev/md/2 529 134 395 26% /
46 > /dev/md/0 129 10 120 8% /boot
47 > /dev/md/3 3911 32 3880 1% /tmp
48 > /dev/md/4 3911 175 3737 5% /var
49 > /dev/md/5 19537 3008 16530 16% /usr
50 > /dev/md/6 19537 2668 16870 14% /home
51 > /dev/md/7 104841 25682 79160 25% /data0
52 >
53 > I might try writing a few big files to fill one of 'em up and see if it makes
54 > any difference!
55 >
56 > Cheers
57 >
58 > Mark
59 > --
60 > gentoo-user@g.o mailing list
61 >
62
63 You can also check your fragmentation, xfs_db -c frag /dev/..
64 and defrag it with xfs_fsir ..
65
66 --
67 gentoo-user@g.o mailing list