Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170700

How safe is nobarrier and ext4? Huge fsync performance difference

$
0
0
Hi, I've a proxmox, with pvetest repo, kernel 3.10, for a school where I've installed 2 Samsung EVO840 250GB SSD, both formatted as EXT4.
I've seen in some post that the bad fsync performance with ext4 and ssd was due to TRIM command, and the suggestion to put in a crontab, that is what I did but with no luck.
The real issue seems the default "barrier" option, that is disabled in ext3 by proxmox, and enabled for ext4.

Here the mount options:
Code:

/dev/mapper/pve-root on / type ext4 (rw,noatime,errors=remount-ro,data=ordered)
/dev/sdb1 on /mnt/hd02 type ext4 (rw,noatime,nobarrier,data=ordered)

pveperf /mnt/hd02, with NO barrier, gives me:
Code:

CPU BOGOMIPS:      24744.56
REGEX/SECOND:      1788679
HD SIZE:          229.10 GB (/dev/sdb1)
BUFFERED READS:    524.02 MB/sec
AVERAGE SEEK TIME: 0.05 ms
FSYNCS/SECOND:    6652.47

while pveperf on standard mount option (barrier) gives me:
Code:

CPU BOGOMIPS:      24744.56
REGEX/SECOND:      1834370
HD SIZE:          39.25 GB (/dev/mapper/pve-root)
BUFFERED READS:    504.89 MB/sec
AVERAGE SEEK TIME: 0.05 ms
FSYNCS/SECOND:    209.79

The question is: since for ext3 is disabled, and there is a HUGE improvement disablling for ext4 as well, is as (un)safe as with ext3, so I have the same risk I'm currently having with ext3?
What do you usually do (I've no raid controller here, too expensive since needs to be high end with BBU)?
Thanks a lot

Viewing all articles
Browse latest Browse all 170700

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>