How fast a disk can perform?
Does 700k writing operations per second a reasonable upper bound?
Each operation is a random write with 1024 Bytes as block size .
|
How fast a disk can perform? Does 700k writing operations per second a reasonable upper bound? Each operation is a random write with 1024 Bytes as block size . | |||||||||
feedback
|
|
After doing some quick googling and checking wikipedia, seems like a typical 7200RPM SATA drive is capable of somewhere between 50-100 I/O operations per second. So 700k seems very, very high. | ||||
|
feedback
|
|
The actual value depends on a number of things, buffer size, sequential read/write speeds, random read/write speeds, just depends on what type of operations you're running. 700k should be an acceptable upper bound for most applications (I would say most hard drives can do more than 10MB/s for both random and sequential read/writes). | |||||
feedback
|
|
Presumably you are talking about bandwidth when you say 700k per second, not IOPS (I/O per second)? Either way, when you're doing 1K-size random writes across the entire disk you are probably being buffered by the operating system. Random writes like that will get cached and written out to the disk in a more sensible manner. It's also important to note - when you say disk, are you talking about:
Each of these options will get you a different answer. If you want to really test your disk in a sensible manner, I recommend checking out bonnie++. | ||||
|
feedback
|
|
Depends how random/sequential the writes are, if they're sequential any you can increase your block size you shouldn't have a problem at all. If they're random/reasonably-random and you stick with 1K blocks you'll need an array. | ||||
|
feedback
|