This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Slower write with ZIL on SSD

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
tuaris
experienced User
experienced User
Posts: 85
Joined: 19 Jul 2012 21:31
Contact:
Status: Offline

Slower write with ZIL on SSD

Post by tuaris »

I thought adding the ZIL to a dedicated SSD would improve write speed, but instead it reduces it slightly.

With ZIL

Code: Select all

/usr/bin/time -h dd if=/dev/zero of=sometestfile bs=1024 count=1604800
1604800+0 records in
1604800+0 records out
1643315200 bytes transferred in 39.472788 secs (41631597 bytes/sec)
        40.60s real             0.39s user              16.62s sys
Without ZIL

Code: Select all

/usr/bin/time -h dd if=/dev/zero of=sometestfile bs=1024 count=1604800
1604800+0 records in
1604800+0 records out
1643315200 bytes transferred in 24.981995 secs (65779982 bytes/sec)
        24.99s real             0.44s user              14.79s sys
Is that usually the case? The system I have is a P4 3.2 GHz and 4GB of RAM.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Slower write with ZIL on SSD

Post by b0ssman »

zil only speeds up synchronous writes.

your dd command is not synchronous
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
tuaris
experienced User
experienced User
Posts: 85
Joined: 19 Jul 2012 21:31
Contact:
Status: Offline

Re: Slower write with ZIL on SSD

Post by tuaris »

b0ssman wrote:zil only speeds up synchronous writes.

your dd command is not synchronous
Interesting, could you explain more or show me were I can find more information about this?

User avatar
crowi
Forum Moderator
Forum Moderator
Posts: 1176
Joined: 21 Feb 2013 16:18
Location: Munich, Germany
Status: Offline

Re: Slower write with ZIL on SSD

Post by crowi »

NAS 1: Milchkuh: Asrock C2550D4I, Intel Avoton C2550 Quad-Core, 16GB DDR3 ECC, 5x3TB WD Red RaidZ1 +60 GB SSD for ZIL/L2ARC, APC-Back UPS 350 CS, NAS4Free 11.0.0.4.3460 embedded
NAS 2: Backup: HP N54L, 8 GB ECC RAM, 4x4 TB WD Red, RaidZ1, NAS4Free 11.0.0.4.3460 embedded
NAS 3: Office: HP N54L, 8 GB ECC RAM, 2x3 TB WD Red, ZFS Mirror, APC-Back UPS 350 CS NAS4Free 11.0.0.4.3460 embedded

Post Reply

Return to “ZFS (only!)”