Влияет ли запись на SSD на скорость чтения SSD?

857
user361340

Я использую свой SSD для чтения и записи одновременно, и я обнаружил, что запись сильно влияет на производительность чтения.

Пример:

Без записи мое чтение может быть X МБ / с, но с записью мое чтение стало 0,5X МБ / с. И производительность чтения будет зависеть больше, если скорость записи выше (я контролирую скорость записи в моей программе).

Доза кто-нибудь знает, почему это происходит?

3
Может быть, ограничение пропускной способности? Что такое SSD и о каких скоростях мы говорим? gronostaj 9 лет назад 0
Извините, не говоря уже о пропускной способности, Мы не касаемся ограничения пропускной способности. Максимум 1 м / с, запись также низкая user361340 9 лет назад 0
Один миллион чтений в секунду - это впечатляет. Насколько велик каждый прочитанный? MSalters 9 лет назад 0
Здесь я имею в виду размер файла, а не количество раз ... Обычный составляет 30 байт / с. Не более 1 м / с user361340 9 лет назад 0

2 ответа на вопрос

4
MSalters

Your SSD is almost certainly connected via SATA. SATA uses the same wires for reading as for wrting, which means the reads and writes have to be interleaved in time.

0
anders-hou

SSD drive performance is mostly determined by two factors: the speed of the memory in the drive and the performance of the memory controller and firmware built into the drive. The memory speed is essentially static, but the firmware code can be improved. Additionally, drives perform worse at or near full capacity, and sometimes continue to perform badly after space is freed up.

Manufacturers often update the firmware on a drive to address issues such as yours. An example of Intel releasing a patch to fix mixed read/write performance is described here: http://www.tomshardware.com/reviews/ssd-performance-power,2279-2.html Manufacturers usually offer firmware updates utilities that are easy to use, but be sure to read the details about the firmware as they are sometimes a destructive upgrade: all of the data on the dive may be erased.

There are usually test results for SSD drives on popular hardware sites. Assuming your drive is relatively mainstream you can read those results to determine if the performance of your drive is normal. You can also compare the SATA controller hardware in your computer with that used in the tests, though that is less likely to be a problem unless you are using an older computer or enterprise level server hardware.

Finally you should also consider using a different SATA cable, different cable routing within the comouter, or even temporarily move the drive into another machine for testing purposes (the two former options do not apply to laptops).

Похожие вопросы