lunes, 31 de julio de 2017

EXT4 virtual disk optimization

Hi all,

These are my tweaks in order to squeeze the performance of a EXT4 virtual disk (in example /dev/sdb1).

ALERT
No implicit nor explicit warranty of any kind is stated here. These commands and/or settings may cause data loss. Use them wisely at your own risk!

tune2fs -o journal_data_writeback /dev/sdb1
tune2fs -O ^has_journal /dev/sdb1
sudo e2fsck -f /dev/sdb1
#
tune2fs -o ^user_xattr /dev/sdb1
tune2fs -o ^acl /dev/sdb1
tune2fs -o nobarrier /dev/sdb1
tune2fs -o discard /dev/sdb1
#
tune2fs -O ^dir_index /dev/sdb1
tune2fs -O ^dir_nlink /dev/sdb1
tune2fs -O ^huge_file /dev/sdb1
tune2fs -O ^metadata_csum /dev/sdb1
tune2fs -O ^quota /dev/sdb1
tune2fs -r 0 /dev/sdb1
#

dumpe2fs /dev/sdb1 | less


References and Kudos:

  1. https://developer.ridgerun.com/wiki/index.php/High_performance_SD_card_tuning_using_the_EXT4_file_system

1 comentario:

  1. The app's tier system, along with its social features, often a|could be a} highly effective entice for some players. Joann stated she 토토사이트 continues to play, as Big Fish Casino grants her a set of free chips (known as a "increase") daily. Even so, she stated, she spends at least of|no less than} $600 a month, largely hold up} her status inside her membership. After a protracted legal battle, 2 million players, including Shellz and her husband, might be eligible to get a small a part of} their losses back — about 20 % these who|for many who|for individuals who} lost $10,000 to $100,000. Shellz, 37, a nurse from Houston, spends at least of|no less than} two hours a day along with her husband taking part in} a casino-style smartphone game called Jackpot Magic. From Roulette and Blackjack to the most effective video slots Delaware Park Online has all your favourite games.

    ResponderEliminar