Skip to contentSkip to conversation

tuning disk on 3ware /performance problem

DISCUSSION Chuck Ebbert 3 participants 4 messages Apr 6, 2003

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

Is there anything i can do to tune the drives connected to he 3ware controller ? (37MB/sec vs 43MB/sec) (and why is the seq. output block 65MB/sec on the 3ware vs 41MB/sec on 'ide controllers')

Try doing a real test with a 1 GB file on an empty filesystem:

# mount /fs && date
# time dd if=/dev/zero of=/fs/file1 bs=128k count=8k
# umount /fs && date && mount /fs
# time dd if=/fs/file1 of=/dev/null bs=128k

I get numbers that disagree with hdparm by a large amount.

--
Chuck
I am not a number!

#1 lore raw
Quoted 9 lines · Chuck Ebbert
Quoted 6 lines

Is there anything i can do to tune the drives connected to he 3ware controller ? (37MB/sec vs 43MB/sec) (and why is the seq. output block 65MB/sec on the 3ware vs 41MB/sec on 'ide controllers')

Try doing a real test with a 1 GB file on an empty filesystem:

sure, but that is what bonnie is also doing...

#2 lore raw
In reply to Chuck Ebbert
Quoted 8 lines · Chuck Ebbert
Quoted 6 lines

Is there anything i can do to tune the drives connected to he 3ware controller ? (37MB/sec vs 43MB/sec) (and why is the seq. output block 65MB/sec on the 3ware vs 41MB/sec on 'ide controllers')

Quoted 5 lines

Try doing a real test with a 1 GB file on an empty filesystem:

# mount /fs && date
# time dd if=/dev/zero of=/fs/file1 bs=128k count=8k

that should be:

time 'dd if=/dev/zero of=/fs/file1 bs=128k count=8k && sync'

otherwise you're not measuring the time it takes to get all the data to disk.

or use lmdd from lmbench, and its built in syncing options.

Quoted 1 line
# umount /fs && date && mount /fs

or i suppose if you're not looking at the output of "time" and rather hand subtracting the two dates?

-dean

Quoted 14 lines
# time dd if=/fs/file1 of=/dev/null bs=128k

I get numbers that disagree with hdparm by a large amount.

--
Chuck
I am not a number!
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

#3 lore raw
Quoted 1 line · dean gaudet

time 'dd if=/dev/zero of=/fs/file1 bs=128k count=8k && sync'

ack... too early in the morning:

time sh -c 'dd if=/dev/zero of=/fs/file1 bs=128k count=8k && sync'

-dean