Bug 103305
Summary: | Performance issue with sync on RHEL 2.1 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 2.1 | Reporter: | Heather Conway <conway_heather> |
Component: | kernel | Assignee: | Larry Woodman <lwoodman> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1 | CC: | digiovanni_lucio, riel, sct |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-09-26 15:25:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Heather Conway
2003-08-28 18:27:01 UTC
I ran the test again on a Dell 2600. The following are the results I got: With PowerPath: - mount /dev/emcpowerc1 /share - rsync -rvP /boot /share => 1360727.20 bytes/sec - rm -rf /share/boot - mount -o remount,sync /dev/emcpowera1 /share - mount - rsync -rvP /boot /share => 427.60 bytes/sec Without PowerPath: - mount /dev/sdd1 /share - rsync -rvP /boot /share => 140070.29 bytes/sec - rm -rf /share/boot - mount -o remount,sync /dev/sdd1 /share - mount - rsync -rvP /boot /share => 155689.67 bytes/sec Just to be clear, this is the qlogic driver binary as Red Hat ships it, right? This is not a bug: synchronous IO is slow. Instead of having IOs submitted in large, contiguous chunks to the disk --- both to the journal and to the files themselves: mount -o sync forces each 4k write to flush the data to disk, wait for that to complete, then flush the transaction to the journal, wait for that to complete, then flush the commit block to the journal, and wait for _that_ to complete. That's 2 seeks and 3 pipeline stalls per IO. So the basic slowdown without EMC modules is entirely expected. The huge slowdown with PowerPath is something that EMC will need to debug: one observation is that drivers with high throughput but high latencies will be disproportionately affected by all forms of synchronous IO, so if powerpath is using any form of deferred command completion then that could explain much of the performance loss. |