[PLUG] Btrfs more than twice as fast compared to ext4

Shridhar Daithankar ghodechhap at ghodechhap.net
Mon Mar 15 09:31:24 IST 2010


On Monday 15 March 2010 07:17:53 Vishal Rao wrote:
> Follow-up (with lotsa ubuntu sudo love):
> 
> vishal at thunderbird:/media$ sudo mkdir btrfs
> vishal at thunderbird:/media$ sudo mkdir ext4
> vishal at thunderbird:/media$ sudo mount /dev/sda7 btrfs
> vishal at thunderbird:/media$ sudo mount /dev/sda8 ext4
> 
> vishal at thunderbird:/media$ sudo hdparm -t /dev/sda7
> 
> /dev/sda7:
>  Timing buffered disk reads:  578 MB in  3.00 seconds = 192.59 MB/sec
> 
> vishal at thunderbird:/media$ sudo hdparm -t /dev/sda8
> 
> /dev/sda8:
>  Timing buffered disk reads:  598 MB in  3.01 seconds = 198.80 MB/sec
> 
> vishal at thunderbird:/media$ sudo umount btrfs
> vishal at thunderbird:/media$ sudo umount ext4
> 
> vishal at thunderbird:/media$ sudo hdparm -t /dev/sda7
> 
> /dev/sda7:
>  Timing buffered disk reads:  584 MB in  3.01 seconds = 194.23 MB/sec
> 
> vishal at thunderbird:/media$ sudo hdparm -t /dev/sda8
> 
> /dev/sda8:
>  Timing buffered disk reads:  610 MB in  3.01 seconds = 202.94 MB/sec

How come you are getting more throughput with fs unmounted? I tried the same 
and I got less throughput, though the decrease is not much substantial.
-- 
Regards 
 Shridhar




More information about the Plug-mail mailing list