Advertisement
ryzhov_al

Ext3 Defrag: myth busted!

Jan 8th, 2013
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.91 KB | None | 0 0
  1. $ # RT-N66U router with Ext3 formatted USB disk.
  2. $ uname -a
  3. Linux RT-N66U 2.6.22.19 #4 Sat Dec 15 20:34:40 EST 2012 mips GNU/Linux
  4. $ # Using defragmentation script from http://ck.kolivas.org/apps/defrag/defrag-0.08/defrag
  5.  
  6. $ # Before defragmentation:
  7.  
  8. $ filefrag ./1080p_6000.mp4
  9. ./1080p_6000.mp4: 2242 extents found, perfection would be 8 extents
  10.  
  11. $ /opt/bin/dd if=./1080p_6000.mp4 of=/dev/null
  12. 1840984+1 records in
  13. 1840984+1 records out
  14. 942584097 bytes (943 MB) copied, 55,6186 s, 16,9 MB/s
  15.  
  16. $ # After defragmentation:
  17.  
  18. $ filefrag ./1080p_6000.mp4
  19. ./1080p_6000.mp4: 12 extents found, perfection would be 8 extents
  20.  
  21. $ /opt/bin/dd if=./1080p_6000.mp4 of=/dev/null
  22. 1840984+1 records in
  23. 1840984+1 records out
  24. 942584097 bytes (943 MB) copied, 43,4758 s, 21,7 MB/s
  25.  
  26.  
  27. $ # All test done 3 times. Defragmented files are read by 30% faster on Ext3.
  28. $ # Do you still believe that Ext3 defragmenation is not needed?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement