• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Try Btrfs if you are installing to an ssd

johnspack

Here For Good!
Supporter
Joined
Oct 6, 2007
Messages
5,464 (1.24/day)
Location
Nelson B.C. Canada
System Name Blacknet
Processor E5-1680v2 Xeon
Motherboard Asus P9X79 Pro
Cooling Noctua NH-D14/7case fans
Memory 32gb Gskill 1866 Cas9
Video Card(s) EVGA FTW GTX 980 Ti ACX 2.0+
Storage Toshiba 3TB, x300 Toshiba 5TB, 2x EVO 850 250GB, EVO 860 500GB
Display(s) 24" LG 24GL600F 144HZ, 23" Asus VZ239H IPS
Case Antec 1200
Audio Device(s) Asus Xonar MKII+ AKG Q701 Studio Monitors
Power Supply XFX XTR 750 Gold
Mouse Logitech G900 Chaos Spectrum
Keyboard Ducky One 2 RGB
Software Kubuntu 19.04
Benchmark Scores It's linux baby!
I did multiple tests in vms, and found btrfs to be significantly faster than ext4 on an ssd. Not recommended for storage drives.
Ubuntu runs stupid fast on it, and if you have 32gbs ram or more, you don't need the swap file. Even 16 would probably do it.
 
Joined
Nov 28, 2012
Messages
1,608 (0.64/day)
System Name N/A
Processor I3 3.5GHZ (3150)
Motherboard ASRock B85M-ITX
Cooling stock
Memory 8GB
Video Card(s) XFX GTX750Ti 2GB
Storage 1TB WD and 1TB Seagate
Display(s) LG 21.5" LCD IPS
Case CoolerMaster
Audio Device(s) Onboard
Power Supply Rosewill 610WATT
Mouse R.A.T3
Keyboard Razer BlackWidow
Software Windows 10 Pro 64-Bit
This isn't new known for 3 years
 

eidairaman1

The Exiled Airman
Joined
Jul 2, 2007
Messages
27,504 (6.12/day)
Location
Republic of Texas (True Patriot)
System Name PCGOD
Processor AMD FX 8350@ 5.0GHz
Motherboard Asus TUF 990FX Sabertooth R2 2901 Bios
Cooling Scythe Ashura, 2×BitFenix 230mm Spectre Pro LED (Blue,Green), 2x BitFenix 140mm Spectre Pro LED
Memory 16 GB Gskill Ripjaws X 2133 (2400 OC, 10-10-12-20-20, 1T, 1.65V)
Video Card(s) AMD Radeon 290 Sapphire Vapor-X
Storage Samsung 840 Pro 256GB, WD Velociraptor 1TB
Display(s) NEC Multisync LCD 1700V (Display Port Adapter)
Case AeroCool Xpredator Evil Blue Edition
Audio Device(s) Creative Labs Sound Blaster ZxR
Power Supply Seasonic 1250 XM2 Series (XP3)
Mouse Roccat Kone XTD
Keyboard Roccat Ryos MK Pro
Software Windows 7 Pro 64

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
11,412 (4.04/day)
Location
Concord, NH
System Name Kratos
Processor Intel Core i7 3930k @ 4.75Ghz
Motherboard ASUS P9X79 Deluxe
Cooling Corsair H100i V2
Memory G.Skill DDR3-2133, 16gb (4x4gb) @ 9-11-10-28-108-1T 1.65v
Video Card(s) Sapphire AMD Radeon RX Vega 64
Storage 2x120Gb SATA3 SSD Raid-0, 4x1Tb RAID-5, 1x500GB, 1x512GB Samsung 960 Pro NVMe
Display(s) 1x LG 27UD69P (4k), 2x Dell S2340M (1080p)
Case Antec 1200
Audio Device(s) Onboard Realtek® ALC898 8-Channel High Definition Audio
Power Supply Seasonic 1000-watt 80 PLUS Platinum
Mouse Logitech G602
Keyboard Rosewill RK-9100
Software Ubuntu 18.04 (5.3.0 Mainline Kernel)
Benchmark Scores Benchmarks aren't everything.
I did multiple tests in vms, and found btrfs to be significantly faster than ext4 on an ssd. Not recommended for storage drives.
Ubuntu runs stupid fast on it, and if you have 32gbs ram or more, you don't need the swap file. Even 16 would probably do it.
Do you have numbers to back that up? I would be intrigued if you do. Phoronix has short article on the matter and it looks like the only case where it was faster was using SQLite, it was as fast or slower with all the other benchmarks. I would expect any machine with more memory to go faster regardless of the type of file system because the file system and certain files are more likely to be cached.

https://www.phoronix.com/scan.php?page=article&item=linux-412-fs&num=2
 
Joined
Oct 2, 2015
Messages
2,338 (1.58/day)
Location
Argentina
System Name Ciel / Yukino
Processor AMD Ryzen R3 1200 @ 3900MHz / Intel Core i3 5005U
Motherboard MSI B350M PRO-VDH / HP 240 G5
Cooling Wraith Stealth / Stock
Memory 2x 8GB Corsair Ballistix Sport DDR4 2400MHz @ 3400MHz / 2x 4GB Hynix + Kingston DDR3L 1600MHz
Video Card(s) Sapphire R9 270X Toxic 2GB / Intel HD 5500
Storage SSD WD Green 240GB M.2 + HDD Toshiba 2TB / SSD Kingston A400 120GB SATA
Display(s) HP w17e 1440x900 @ 75 Hz / Integrated 1366x768 @ 94Hz
Case Generic / Stock
Audio Device(s) Realtek ALC892 / Realtek ALC282
Power Supply Sentey XPP 525W / Power Brick
Mouse Logitech G203 / Elan Touchpad
Keyboard Generic / Stock
Software Windows 10 LTSC x64 + Arch Linux
Benchmark Scores Time Spy: 2200
It is indeed good, but the problem is the repair software when somerhing goes wrong, it's not as good as in EXT4.
 
Joined
Feb 14, 2012
Messages
2,013 (0.72/day)
System Name msdos
Processor 8086
Motherboard mainboard
Cooling passive
Memory 640KB + 384KB extended
Video Card(s) EGA
Storage 5.25"
Display(s) 80x25
Case plastic
Audio Device(s) modchip
Power Supply 45 watts
Mouse serial
Keyboard yes
Software disk commander
Benchmark Scores still running
Phoronix results don't agree. They showed ext4 to be the most well rounded. Also, there is a steady stream of dead btrfs partitions that pass through the opensuse forum. Just changing the fs isn't going to transform your distro into "stupid fast". And why would changing the fs have ANY bearing on whether you need a swap file for your PC or not? That's application dependent.
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
11,412 (4.04/day)
Location
Concord, NH
System Name Kratos
Processor Intel Core i7 3930k @ 4.75Ghz
Motherboard ASUS P9X79 Deluxe
Cooling Corsair H100i V2
Memory G.Skill DDR3-2133, 16gb (4x4gb) @ 9-11-10-28-108-1T 1.65v
Video Card(s) Sapphire AMD Radeon RX Vega 64
Storage 2x120Gb SATA3 SSD Raid-0, 4x1Tb RAID-5, 1x500GB, 1x512GB Samsung 960 Pro NVMe
Display(s) 1x LG 27UD69P (4k), 2x Dell S2340M (1080p)
Case Antec 1200
Audio Device(s) Onboard Realtek® ALC898 8-Channel High Definition Audio
Power Supply Seasonic 1000-watt 80 PLUS Platinum
Mouse Logitech G602
Keyboard Rosewill RK-9100
Software Ubuntu 18.04 (5.3.0 Mainline Kernel)
Benchmark Scores Benchmarks aren't everything.
And why would changing the fs have ANY bearing on whether you need a swap file for your PC or not?
Forget the part where swap gets its own partition on a disk and isn't even stored on a file system on *nix machines.
That's application dependent.
It's memory usage dependent in the *nix world. They're just like any other memory page which is probably why being its own partition makes sense. It's easy to map memory addresses to addresses on a physical disk while maintaining relatively reasonable performance. No file system overhead for virtual memory.
 

johnspack

Here For Good!
Supporter
Joined
Oct 6, 2007
Messages
5,464 (1.24/day)
Location
Nelson B.C. Canada
System Name Blacknet
Processor E5-1680v2 Xeon
Motherboard Asus P9X79 Pro
Cooling Noctua NH-D14/7case fans
Memory 32gb Gskill 1866 Cas9
Video Card(s) EVGA FTW GTX 980 Ti ACX 2.0+
Storage Toshiba 3TB, x300 Toshiba 5TB, 2x EVO 850 250GB, EVO 860 500GB
Display(s) 24" LG 24GL600F 144HZ, 23" Asus VZ239H IPS
Case Antec 1200
Audio Device(s) Asus Xonar MKII+ AKG Q701 Studio Monitors
Power Supply XFX XTR 750 Gold
Mouse Logitech G900 Chaos Spectrum
Keyboard Ducky One 2 RGB
Software Kubuntu 19.04
Benchmark Scores It's linux baby!
Alright, not new, but much more stable now. I've only been pushing linux for like six months now so, cool it. Before installing ubuntu on my main rig, I tested 2 identical installs of kubuntu in vms, running off the same ssd. Only one at a time. Results were repeatable at least 20x. btrfs-tools do exist now, no reason not to install. Tests, first is ext4, 2nd is btrfs:

 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
11,412 (4.04/day)
Location
Concord, NH
System Name Kratos
Processor Intel Core i7 3930k @ 4.75Ghz
Motherboard ASUS P9X79 Deluxe
Cooling Corsair H100i V2
Memory G.Skill DDR3-2133, 16gb (4x4gb) @ 9-11-10-28-108-1T 1.65v
Video Card(s) Sapphire AMD Radeon RX Vega 64
Storage 2x120Gb SATA3 SSD Raid-0, 4x1Tb RAID-5, 1x500GB, 1x512GB Samsung 960 Pro NVMe
Display(s) 1x LG 27UD69P (4k), 2x Dell S2340M (1080p)
Case Antec 1200
Audio Device(s) Onboard Realtek® ALC898 8-Channel High Definition Audio
Power Supply Seasonic 1000-watt 80 PLUS Platinum
Mouse Logitech G602
Keyboard Rosewill RK-9100
Software Ubuntu 18.04 (5.3.0 Mainline Kernel)
Benchmark Scores Benchmarks aren't everything.
That looks like the VM host doing caching like a pro. That doesn't look like anything to do with btrfs. Do the same benchmarks on a machine outside of a VM without write-back caching the size of system memory and we'll have a good discussion but, this just looks like vmware getting creative. If anything, those constantly low points probably show the actual file system performance without caching. Even my RAID-0 with SSDs maintains closer to what you would expect from two SATA-3 devices in RAID-0. No file system will mysteriously make a drive faster than it actually is.
1519694975843.png
 

johnspack

Here For Good!
Supporter
Joined
Oct 6, 2007
Messages
5,464 (1.24/day)
Location
Nelson B.C. Canada
System Name Blacknet
Processor E5-1680v2 Xeon
Motherboard Asus P9X79 Pro
Cooling Noctua NH-D14/7case fans
Memory 32gb Gskill 1866 Cas9
Video Card(s) EVGA FTW GTX 980 Ti ACX 2.0+
Storage Toshiba 3TB, x300 Toshiba 5TB, 2x EVO 850 250GB, EVO 860 500GB
Display(s) 24" LG 24GL600F 144HZ, 23" Asus VZ239H IPS
Case Antec 1200
Audio Device(s) Asus Xonar MKII+ AKG Q701 Studio Monitors
Power Supply XFX XTR 750 Gold
Mouse Logitech G900 Chaos Spectrum
Keyboard Ducky One 2 RGB
Software Kubuntu 19.04
Benchmark Scores It's linux baby!
I'll try some raw numbers and post those. I'll have to install another kubuntu on my 2nd equal ssd I guess. I don't understand why you can't see the difference, but okay.
Still compiling a list of windows games that run just fine under winehq wine right now... much more important....Oh, here's my ancient old system using btrfs raw:
 
Joined
Feb 14, 2012
Messages
2,013 (0.72/day)
System Name msdos
Processor 8086
Motherboard mainboard
Cooling passive
Memory 640KB + 384KB extended
Video Card(s) EGA
Storage 5.25"
Display(s) 80x25
Case plastic
Audio Device(s) modchip
Power Supply 45 watts
Mouse serial
Keyboard yes
Software disk commander
Benchmark Scores still running
Linux has always mapped swap to a dedicated partition ... you have to work extra hard to put in on a loopback device on a mounted fs, which is suicide in low mem conditions ...
 

johnspack

Here For Good!
Supporter
Joined
Oct 6, 2007
Messages
5,464 (1.24/day)
Location
Nelson B.C. Canada
System Name Blacknet
Processor E5-1680v2 Xeon
Motherboard Asus P9X79 Pro
Cooling Noctua NH-D14/7case fans
Memory 32gb Gskill 1866 Cas9
Video Card(s) EVGA FTW GTX 980 Ti ACX 2.0+
Storage Toshiba 3TB, x300 Toshiba 5TB, 2x EVO 850 250GB, EVO 860 500GB
Display(s) 24" LG 24GL600F 144HZ, 23" Asus VZ239H IPS
Case Antec 1200
Audio Device(s) Asus Xonar MKII+ AKG Q701 Studio Monitors
Power Supply XFX XTR 750 Gold
Mouse Logitech G900 Chaos Spectrum
Keyboard Ducky One 2 RGB
Software Kubuntu 19.04
Benchmark Scores It's linux baby!
I also have Phoronix suites installed. In the case of btrfs though, there is no swap file. Not using tmp dir... I've never seen numbers like this under windows. Except with magician. Just under 600mbs isn't cached though.
Raw numbers. Well I can't argue anymore, I'm just going to tweak this bi0tch, and take over the world....
 
Joined
Feb 14, 2012
Messages
2,013 (0.72/day)
System Name msdos
Processor 8086
Motherboard mainboard
Cooling passive
Memory 640KB + 384KB extended
Video Card(s) EGA
Storage 5.25"
Display(s) 80x25
Case plastic
Audio Device(s) modchip
Power Supply 45 watts
Mouse serial
Keyboard yes
Software disk commander
Benchmark Scores still running
I suppose it could be faster within a VM for some unexpected reason / interaction with the particular host system.
 

johnspack

Here For Good!
Supporter
Joined
Oct 6, 2007
Messages
5,464 (1.24/day)
Location
Nelson B.C. Canada
System Name Blacknet
Processor E5-1680v2 Xeon
Motherboard Asus P9X79 Pro
Cooling Noctua NH-D14/7case fans
Memory 32gb Gskill 1866 Cas9
Video Card(s) EVGA FTW GTX 980 Ti ACX 2.0+
Storage Toshiba 3TB, x300 Toshiba 5TB, 2x EVO 850 250GB, EVO 860 500GB
Display(s) 24" LG 24GL600F 144HZ, 23" Asus VZ239H IPS
Case Antec 1200
Audio Device(s) Asus Xonar MKII+ AKG Q701 Studio Monitors
Power Supply XFX XTR 750 Gold
Mouse Logitech G900 Chaos Spectrum
Keyboard Ducky One 2 RGB
Software Kubuntu 19.04
Benchmark Scores It's linux baby!
Yes, it's obvious vmware is doing some caching work... I'll have to do a clean install raw using ext4 to compare fully. I'm still happy with btrfs performance on my raw install, no issues, no errors. And I'm pushing my install. I want to break it, to see it's limits. So far btrfs and ubuntu just friggin rock.....
 

Bellusterra

New Member
Joined
May 23, 2018
Messages
2 (0.00/day)
No file system will mysteriously make a drive faster than it actually is.
btrfs wiki page says that it does actually increase the throughput if that helps.

"SSD (flash storage) awareness (TRIM/Discard for reporting free blocks for reuse) and optimizations (e.g. avoiding unnecessary seek optimizations, sending writes in clusters, even if they are from unrelated files. This results in larger write operations and faster write throughput)"

https://btrfs.wiki.kernel.org/index.php/Main_Page
 
Joined
Nov 28, 2012
Messages
1,608 (0.64/day)
System Name N/A
Processor I3 3.5GHZ (3150)
Motherboard ASRock B85M-ITX
Cooling stock
Memory 8GB
Video Card(s) XFX GTX750Ti 2GB
Storage 1TB WD and 1TB Seagate
Display(s) LG 21.5" LCD IPS
Case CoolerMaster
Audio Device(s) Onboard
Power Supply Rosewill 610WATT
Mouse R.A.T3
Keyboard Razer BlackWidow
Software Windows 10 Pro 64-Bit
Yea even on My HDD it boots faster and access faster. Don't know why Linux doesn't have it as default
 

eidairaman1

The Exiled Airman
Joined
Jul 2, 2007
Messages
27,504 (6.12/day)
Location
Republic of Texas (True Patriot)
System Name PCGOD
Processor AMD FX 8350@ 5.0GHz
Motherboard Asus TUF 990FX Sabertooth R2 2901 Bios
Cooling Scythe Ashura, 2×BitFenix 230mm Spectre Pro LED (Blue,Green), 2x BitFenix 140mm Spectre Pro LED
Memory 16 GB Gskill Ripjaws X 2133 (2400 OC, 10-10-12-20-20, 1T, 1.65V)
Video Card(s) AMD Radeon 290 Sapphire Vapor-X
Storage Samsung 840 Pro 256GB, WD Velociraptor 1TB
Display(s) NEC Multisync LCD 1700V (Display Port Adapter)
Case AeroCool Xpredator Evil Blue Edition
Audio Device(s) Creative Labs Sound Blaster ZxR
Power Supply Seasonic 1250 XM2 Series (XP3)
Mouse Roccat Kone XTD
Keyboard Roccat Ryos MK Pro
Software Windows 7 Pro 64
According This This Benchmark:

https://www.phoronix.com/scan.php?page=article&item=linux414-fs-compare&num=2

View attachment 101577View attachment 101578

It looks like Where btrfs Performs Well Is in The Sequential Read Which would make sense why it is booting and accessing things faster. where it runs slower is the sequential writing to the disk, it performs other functions at this time, which would also make sense why it would be slower.
At that point it wouldn't be worth using it considering the reads aint drastically better and the writes are drastically worse than the other formats.
 
Joined
Nov 28, 2012
Messages
1,608 (0.64/day)
System Name N/A
Processor I3 3.5GHZ (3150)
Motherboard ASRock B85M-ITX
Cooling stock
Memory 8GB
Video Card(s) XFX GTX750Ti 2GB
Storage 1TB WD and 1TB Seagate
Display(s) LG 21.5" LCD IPS
Case CoolerMaster
Audio Device(s) Onboard
Power Supply Rosewill 610WATT
Mouse R.A.T3
Keyboard Razer BlackWidow
Software Windows 10 Pro 64-Bit
As I mentioned before btrfs just needs some work. It's still new to a lot of people. I used it in mint 17.3 and it had some issues with reading and writing to the drive
 
Joined
Jan 20, 2017
Messages
323 (0.32/day)
System Name Burning a hole through my wallet
Processor i7 6800k @ 4.4GHz
Motherboard MSI X99A SLI Plus
Cooling EK Supremacy Evo w/ EK 360XE & 3xVardar fans
Memory 32GB Corsair Dominator Platinum 3000MHz
Video Card(s) 1080ti FTW3 w/EK fullcover block&XOC BIOS
Storage 500GB 960 EVO 2x2TB WD Caviar Black RAID0 4TB Seagate 4TB Ironwolf
Display(s) ehhh 4 of em 1 4k 1 2k a shit one and a colorful one
Case TT Core X9
Power Supply Corsair CX 650
Mouse Logitech G502
Keyboard Logitech G910
Software Win 10 Pro 32
I have somewhat felt this at least on my laptop with suse/centos/fedora in btrfs and mint/ubuntu/arch/parrot/gentoo in ext4. The boot time for fedora is faster than mint, however writing is much faster in mint.
 
Joined
Nov 28, 2012
Messages
1,608 (0.64/day)
System Name N/A
Processor I3 3.5GHZ (3150)
Motherboard ASRock B85M-ITX
Cooling stock
Memory 8GB
Video Card(s) XFX GTX750Ti 2GB
Storage 1TB WD and 1TB Seagate
Display(s) LG 21.5" LCD IPS
Case CoolerMaster
Audio Device(s) Onboard
Power Supply Rosewill 610WATT
Mouse R.A.T3
Keyboard Razer BlackWidow
Software Windows 10 Pro 64-Bit
That's because MINT is better optimized... :pimp:
 
Top