Re: slow ZFS on FreeBSD 8.1

2011-01-04 Thread Freek van Hemert
Thank you mailinglist,

That was a lot of info. First of all, I don't think this is a cpu issue
since the cpu is mostly idle while copying.
Second, I tried the hacks in loader.conf and the other ones mentioned in the
beginning of the thread. Allthough perfomance is somewhat increased, it is
still horribly slow at something like 2.6MB/sec (my internet is faster.)

For the moment I will put my FreeBSD plans back in the fridge, I thought ZFS
would bring me instant performance and data safety without having to spend
too much time. I'll move back to Arch Linux and just setup a rsync between
the disks on ext4 or perhaps later I will move to btrfs. When 8,2 is stable
who knows I might just switch again although as the disks fill it will be
harder and harder...

I will definitely revisit FreeBSD and zfs but this was not the time for me.
Have a happy new year and thanks for all the comments.

Freek.




On 2 January 2011 12:33, Dan Langille  wrote:

> On 12/31/2010 6:47 PM, Jeremy Chadwick wrote:
>
>> On Sat, Jan 01, 2011 at 10:33:43AM +1100, Peter Jeremy wrote:
>>
>
>  Based on my experiences at home, I converted my desktop at work to
>>> pure ZFS.  The only issues I've run into have been programs that
>>> extensively use mmap(2) - which is a known issue with ZFS.
>>>
>>
>> Is your ZFS root filesystem associated with a pool that's mirrored or
>> using raidzX?  What about mismatched /boot content (ZFS vs. UFS)?  What
>> about booting into single-user mode?
>>
>> http://wiki.freebsd.org/ZFSOnRoot indirectly hints at these problems but
>> doesn't outright admit them (yet should), so I'm curious to know how
>> people have solved them.  Remembering manual "one-offs" for a system
>> configured this way is not acceptable (read: highly prone to
>> error/mistake).  Is it worth the risk?  Most administrators don't have
>> the tolerance for stuff like that in the middle of a system upgrade or
>> what not; they should be able to follow exactly what's in the handbook,
>> to a tee.
>>
>> There's a link to www.dan.me.uk at the bottom of the above Wiki page
>> that outlines "the madness" that's required to configure the setup, all
>> of which has to be done by hand.  I don't know many administrators who
>> are going to tolerate this when deploying numerous machines, especially
>> when compounded by the complexities mentioned above.
>>
>
> This basically outlines the reason why I do not use ZFS on root.
>
>
> --
> Dan Langille - http://langille.org/
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: slow ZFS on FreeBSD 8.1

2010-12-29 Thread Freek van Hemert
Thanx for all the replies.
The hacks sounds good until 8.2 is released however, regarding this upgrade,
is the on-disk format the same? Can I just add the pool to a new install (of
8.2-RC) and expect higher performance? Or do I need to recreate the pool
with the newer versions of the utilities?

On 29 December 2010 09:38, Matthew Seaman
wrote:

> On 28/12/2010 23:56, Freek van Hemert wrote:
> > I have a question regarding zfs on freebsd.
> > (I'm making a home server)
> > This afternoon I did a "zpool create data mirror ad4 ad6" Now I'm copying
> > things from my ufs2 disk into the 2TB zpool, it is very slow. I'm on
> freebsd
> > 8.1 amd64 on an atom n330 with 2 sata disks, gstat tells me I'm going at
> > around 2 mbps at near 100  %busy while the ufs2 drives are near 0. Also,
> > ufs2 to ufs2 was much faster (I estimate about 10 times faster). How do I
> > tune? The wiki is not helpful for amd64 users stating that the defaults
> > should be optimal. I'm using the 8.1-stable version which has just been
> > installed this afternoon from a minimal install iso.
>
> Upgrade to one of the 8.2 release candidates or to a recent RELENG_8 /
> stable/8 -- there has been serious work done on ZFS since 8.1-RELEASE
> including the import of ZFS v15, and it is a lot more performant.
>
> Or wait a few weeks and then upgrade to 8.2-RELEASE.
>
>Cheers,
>
>Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
>  Flat 3
> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
> JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW
>
>
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


slow ZFS on FreeBSD 8.1

2010-12-28 Thread Freek van Hemert
Hello everyone,

This is my first mail on the mailinglist and I very much appreciate this
option of getting some help.

I have a question regarding zfs on freebsd.
(I'm making a home server)
This afternoon I did a "zpool create data mirror ad4 ad6" Now I'm copying
things from my ufs2 disk into the 2TB zpool, it is very slow. I'm on freebsd
8.1 amd64 on an atom n330 with 2 sata disks, gstat tells me I'm going at
around 2 mbps at near 100  %busy while the ufs2 drives are near 0. Also,
ufs2 to ufs2 was much faster (I estimate about 10 times faster). How do I
tune? The wiki is not helpful for amd64 users stating that the defaults
should be optimal. I'm using the 8.1-stable version which has just been
installed this afternoon from a minimal install iso.

I'm copying from a single ufs2 pata drive into a sata zpool mirror. I have
2GB of ram.

Top tells me: 761 MB Active, 790 Inactive and there is hardly any cpu usage
(96-98% idle). vfs.numvnodes: around 12500 now (after several hours of
copying) and stil slowly rising.

Hope you can help me.

Freek
(from the Netherlands)
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"