linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RAID 5,6 sequential writing seems slower in newer kernels
@ 2015-12-01 23:02 Dallas Clement
  2015-12-02  1:07 ` keld
                   ` (2 more replies)
  0 siblings, 3 replies; 35+ messages in thread
From: Dallas Clement @ 2015-12-01 23:02 UTC (permalink / raw)
  To: linux-raid

Hi,

I have a NAS system with 12 spinning disks that has been running with
the 2.6.39.4 kernel. It has a 4 core xeon processor (E31275 @
3.40GHz), with 8 GB of RAM.  The 12 disks in my RAID array are Hitachi
4 TB, 7200 RPM SATA drives.  The filesystem is XFS.

Recently I have been evaluating RAID performance on newer kernels 3.10
and 4.2.  I have observed that with the same settings, I am seeing
much slower RAID 5 and 6 sequential write speeds with newer kernels
compared to what I was seeing with the 2.6.39.4 kernel.  However, the
4.2 kernel has much better read speeds for both sequential and random
patterns.  I understand that there have been many improvements to RAID
5 and 6 in the 4.1 kernel.  I definitely am seeing improvement with
reads but not writes.

If I observe disk and array throughput with iostat, the individual
disk utilization and wMB/s is much lower in the newer kernels.  With
the older 2.6.39.4 kernel, disk utilization seems to stay above 80%
with wMB/s around 74 MB/s, whereas the newer kernel disk utilization
seems to vary between 20-70% with wMB/s around 9-38 MB/s.  CPU iowait
gets up to about 10% much of the time.  These Hitachi disks are
capable of sustaining around 170 MB/s, which is just about what I see
when doing sequential writes to all 12 disks concurrently in a JBOD
configuration, i.e no RAID.  The iowait for 12 disks of JBOD gets up
to about 97% - which makes the system very unresponsive.

One other observation is that RAID 0 sequential write speeds in newer
kernels are only slightly less than what I was seeing in 2.6.39.4.

I am frankly surprised at these results.  Perhaps there is some
configuration or tunable settings that have changed since the 2.6
kernel that I am unaware of that affect RAID 5, 6 performance.  Please
comment if you have any ideas which might explain what I am seeing.

Thanks,

Dalla

^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2015-12-08 21:24 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01 23:02 RAID 5,6 sequential writing seems slower in newer kernels Dallas Clement
2015-12-02  1:07 ` keld
2015-12-02 14:18   ` Robert Kierski
2015-12-02 14:45     ` Phil Turmel
2015-12-02 15:28       ` Robert Kierski
2015-12-02 15:37         ` Phil Turmel
2015-12-02 15:44           ` Robert Kierski
2015-12-02 15:51             ` Phil Turmel
2015-12-02 19:50               ` Dallas Clement
2015-12-03  0:12                 ` Dallas Clement
2015-12-03  2:18                   ` Phil Turmel
2015-12-03  2:24                     ` Dallas Clement
2015-12-03  2:33                       ` Dallas Clement
2015-12-03  2:38                         ` Phil Turmel
2015-12-03  2:51                           ` Dallas Clement
2015-12-03  4:30                             ` Phil Turmel
2015-12-03  4:49                               ` Dallas Clement
2015-12-03 13:43                               ` Robert Kierski
2015-12-03 14:37                                 ` Phil Turmel
2015-12-03  2:34                       ` Phil Turmel
2015-12-03 14:19                 ` Robert Kierski
2015-12-03 14:39                   ` Dallas Clement
2015-12-03 15:04                   ` Phil Turmel
2015-12-03 22:21                     ` Weedy
2015-12-04 13:40                     ` Robert Kierski
2015-12-04 16:08                       ` Dallas Clement
2015-12-07 14:29                         ` Robert Kierski
2015-12-08 19:38                           ` Dallas Clement
2015-12-08 21:24                             ` Robert Kierski
2015-12-04 18:51                       ` Shaohua Li
2015-12-05  1:38                         ` Dallas Clement
2015-12-07 14:18                         ` Robert Kierski
2015-12-02 15:37       ` Robert Kierski
2015-12-02  5:22 ` Roman Mamedov
2015-12-02 14:15 ` Robert Kierski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).