Комментарии 20
Опередили. У меня в черновиках развёрнутая статья по использованию flashcache.
Впрочем, у статьи ещё есть шансы, т.к., собственно, особенности работы с flaschace (например, управление размерами блока для кеширования, разницы между режимами кеширования и т.д.) нет.
Впрочем, у статьи ещё есть шансы, т.к., собственно, особенности работы с flaschace (например, управление размерами блока для кеширования, разницы между режимами кеширования и т.д.) нет.
Это всё есть в документации, я не стал переписывать. Я делал больше упор на опыт использования.
Да? Всё в документации? Ну, расскажите, на что влияет смена though на around?
Choice of Caching Modes:
=========================
Writethrough — safest, all writes are cached to ssd but also written to disk
immediately. If your ssd has slower write performance than your disk (likely
for early generation SSDs purchased in 2008-2010), this may limit your system
write performance. All disk reads are cached (tunable).
Writearound — again, very safe, writes are not written to ssd but directly to
disk. Disk blocks will only be cached after they are read. All disk reads
are cached (tunable).
Writeback — fastest but less safe. Writes only go to the ssd initially, and
based on various policies are written to disk later. All disk reads are
cached (tunable).
Cache Persistence:
=================
Writethru and Writearound caches are not persistent across a device removal
or a reboot. Only Writeback caches are persistent across device removals
and reboots. This reinforces 'writeback is fastest', 'writethrough is safest'.
=========================
Writethrough — safest, all writes are cached to ssd but also written to disk
immediately. If your ssd has slower write performance than your disk (likely
for early generation SSDs purchased in 2008-2010), this may limit your system
write performance. All disk reads are cached (tunable).
Writearound — again, very safe, writes are not written to ssd but directly to
disk. Disk blocks will only be cached after they are read. All disk reads
are cached (tunable).
Writeback — fastest but less safe. Writes only go to the ssd initially, and
based on various policies are written to disk later. All disk reads are
cached (tunable).
Cache Persistence:
=================
Writethru and Writearound caches are not persistent across a device removal
or a reboot. Only Writeback caches are persistent across device removals
and reboots. This reinforces 'writeback is fastest', 'writethrough is safest'.
Это из FlashCache System Administration Guide, если что.
О, они это описали. Помню, на этапе внедления у нас этого абзаца не было и я по сырцам выяснял разницу.
В любом случае, с удовольствием прочту ещё и Вашу статью. Доки много не бывает :).
А вы flashcache где-то используете?
Давайте развернутую. Данная упоминает описание на странице проекта, которго кроме краткого РИДМИ не видно.
Там внутри папка doc и FlashCache System Administration Guide.
Какие отличные шаблоны для заббикса. Поделитесь, пожалуйста.
Это Zabbix Template Collection (ZTC) от Владимира Русинова. Кроме последнего графика.
Зарегистрируйтесь на Хабре, чтобы оставить комментарий
Flashcache, или I/O на стероидах