Skip to contentSkip to conversation

DMA transfers in 2.5.67

DISCUSSION Chuck Ebbert 3 participants 4 messages Apr 16, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines

Btw, I just noticed that hard disk throughput is much lower with 2.5 than 2.4. With 2.4.21-pre5 I get ~40 MB/s, but with 2.5.67 the speed drops to 25-30 MB/s. Everything according to hdparm. Is it possible that DMA is generally slow for some reason?

I am seeing that too, with IDE hardware.

And 2.4.20aa1 is even faster:

# mount /ext3_fs
# time dd if=/ext3_fs/100MiB_file of=/dev/null bs=32k

2.4.20aa1 : 3.3 sec (exactly what I expect to see)
2.5.66 : 6.6 sec

--
Chuck

#1 lore raw
Quoted 6 lines · Chuck Ebbert
# mount /ext3_fs
# time dd if=/ext3_fs/100MiB_file of=/dev/null bs=32k

2.4.20aa1 : 3.3 sec (exactly what I expect to see)
2.5.66 : 6.6 sec

With this test 2.4 will leave a lot more unwritten dirty data in memory.

You should include a `sync' in the timings.

#2 lore raw
Quoted 6 lines · Andrew Morton
Quoted 4 lines · Chuck Ebbert
# mount /ext3_fs
# time dd if=/ext3_fs/100MiB_file of=/dev/null bs=32k
Quoted 6 lines
Quoted 2 lines

2.4.20aa1 : 3.3 sec (exactly what I expect to see)
2.5.66 : 6.6 sec

With this test 2.4 will leave a lot more unwritten dirty data in memory.

You should include a `sync' in the timings.

Well you should include the sync if you're writing to disk ;)

doh.

#3 lore raw
In reply to Andrew Morton
Quoted 9 lines · Andrew Morton
Quoted 5 lines
# mount /ext3_fs
# time dd if=/ext3_fs/100MiB_file of=/dev/null bs=32k

2.4.20aa1 : 3.3 sec (exactly what I expect to see)
2.5.66 : 6.6 sec

With this test 2.4 will leave a lot more unwritten dirty data in memory.

You should include a `sync' in the timings.

That was reading a file discarding that data. A sync shouldn't make any difference.

Signature · 2 lines
Måns Rullgård
[email protected]