Re: High cpu usage when using ZFS cache device

2011-10-11 Thread Steven Hartland
- Original Message - From: Mickaël Maillot mickael.mail...@gmail.com same problem here after ~ 30 days with a production server and 2 SSD Intel X25M as L2. so we update and reboot the 8-STABLE server every month. Old thread but also seeing this on 8.2-RELEASE so looks like this may

Re: High cpu usage when using ZFS cache device

2011-10-11 Thread Steven Hartland
- Original Message - From: Artem Belevich a...@freebsd.org No, there was no PR. L2arc CPU hogging after ~24 days was fixed in r218180 in -HEAD and was MFC'ed to 8-stable in r218429 early in February '11. If you're using 8-RELEASE, upgrading to 8-STABLE would be something to

Re: High cpu usage when using ZFS cache device

2011-10-11 Thread Artem Belevich
On Tue, Oct 11, 2011 at 2:34 AM, Steven Hartland kill...@multiplay.co.uk wrote: - Original Message - From: Mickaël Maillot mickael.mail...@gmail.com same problem here after ~ 30 days with a production server and 2 SSD Intel X25M as L2. so we update and reboot the 8-STABLE server

Re: High cpu usage when using ZFS cache device

2011-10-11 Thread Artem Belevich
On Tue, Oct 11, 2011 at 10:21 AM, Steven Hartland kill...@multiplay.co.uk wrote: Thanks for the confirmation there Artem, we currently can't use 8-STABLE due to the serious routing issue, seem like every packet generates a RTM_MISS routing packet to be sent, which causes high cpu load.

Re: High cpu usage when using ZFS cache device

2011-10-11 Thread Steven Hartland
- Original Message - From: Artem Belevich a...@freebsd.org On Tue, Oct 11, 2011 at 10:21 AM, Steven Hartland kill...@multiplay.co.uk wrote: Thanks for the confirmation there Artem, we currently can't use 8-STABLE due to the serious routing issue, seem like every packet generates a

Re: High cpu usage when using ZFS cache device

2011-10-11 Thread Artem Belevich
On Tue, Oct 11, 2011 at 1:17 PM, Steven Hartland kill...@multiplay.co.uk wrote: It's a bummer. If you can build your own kernel cherry-picking following revisions may help with long-term stability: r218429 - fixes original overflow causing CPU hogging by l2arc feeding thread. It will keep you

Re: High cpu usage when using ZFS cache device

2010-11-17 Thread Christer Solskogen
On Wed, Nov 17, 2010 at 8:47 AM, Christer Solskogen christer.solsko...@gmail.com wrote: Will try to reboot server now to se if that has any impact. It seems to have solved it. At least temporary. -- chs, ___ freebsd-stable@freebsd.org mailing list

Re: High cpu usage when using ZFS cache device

2010-11-17 Thread Mickaël Maillot
same problem here after ~ 30 days with a production server and 2 SSD Intel X25M as L2. so we update and reboot the 8-STABLE server every month. 2010/11/17 Christer Solskogen christer.solsko...@gmail.com On Wed, Nov 17, 2010 at 8:47 AM, Christer Solskogen christer.solsko...@gmail.com wrote:

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Ivan Voras
On 11/16/10 08:16, Christer Solskogen wrote: On Tue, Nov 16, 2010 at 1:30 AM, Brian Reichertreich...@numachi.com wrote: On Mon, Nov 15, 2010 at 09:50:50PM +0100, Christer Solskogen wrote: My load on my i7 920 is certainly higher when I add a 8GB usb stick as a ZFS cache device. USB 1.0?

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Christer Solskogen
On Tue, Nov 16, 2010 at 12:47 PM, Ivan Voras ivo...@freebsd.org wrote: You can easily test it - use the stick as a simple disk device with UFS and see how much CPU does it take simply to talk to the device. See, that is why I think it is a ZFS issue. Because I did that. I created a UFS

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Jeremy Chadwick
On Tue, Nov 16, 2010 at 01:15:32PM +0100, Christer Solskogen wrote: On Tue, Nov 16, 2010 at 12:47 PM, Ivan Voras ivo...@freebsd.org wrote: You can easily test it - use the stick as a simple disk device with UFS and see how much CPU does it take simply to talk to the device. See, that is

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Alexander Leidinger
Quoting Christer Solskogen christer.solsko...@gmail.com (from Tue, 16 Nov 2010 13:15:32 +0100): On Tue, Nov 16, 2010 at 12:47 PM, Ivan Voras ivo...@freebsd.org wrote: You can easily test it - use the stick as a simple disk device with UFS and see how much CPU does it take simply to talk to

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Christer Solskogen
On Tue, Nov 16, 2010 at 1:55 PM, Alexander Leidinger alexan...@leidinger.net wrote: How do you measure that nothing is read or written to it? I used zpool iostat -v Please check with  gstat -f '^DEVICE$' if there are really no reads/writes to the device (please replace DEVICE with the name

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Ollivier Robert
According to Christer Solskogen: See, that is why I think it is a ZFS issue. Because I did that. I created a UFS filesystem on the same usb stick. Mounted it and did a dd if=/dev/zero of=/mnt/file. The systemload goes +0.6 instead if +10.3. Do not forget that everything that is read/written

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Ivan Voras
On 16 November 2010 13:15, Christer Solskogen christer.solsko...@gmail.com wrote: On Tue, Nov 16, 2010 at 12:47 PM, Ivan Voras ivo...@freebsd.org wrote: You can easily test it - use the stick as a simple disk device with UFS and see how much CPU does it take simply to talk to the device.

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Christer Solskogen
On Tue, Nov 16, 2010 at 2:11 PM, Ollivier Robert robe...@keltia.freenix.fr wrote: According to Christer Solskogen: See, that is why I think it is a ZFS issue. Because I did that. I created a UFS filesystem on the same usb stick. Mounted it and did a dd if=/dev/zero of=/mnt/file. The

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Jeremy Chadwick
On Tue, Nov 16, 2010 at 04:53:57PM +0100, Christer Solskogen wrote: On Tue, Nov 16, 2010 at 2:11 PM, Ollivier Robert robe...@keltia.freenix.fr wrote: According to Christer Solskogen: See, that is why I think it is a ZFS issue. Because I did that. I created a UFS filesystem on the same usb

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Alexander Leidinger
Quoting Christer Solskogen christer.solsko...@gmail.com (from Tue, 16 Nov 2010 14:00:48 +0100): On Tue, Nov 16, 2010 at 1:55 PM, Alexander Leidinger alexan...@leidinger.net wrote: How do you measure that nothing is read or written to it? I used zpool iostat -v zpool iostat (without -v)

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Christer Solskogen
On Tue, Nov 16, 2010 at 5:31 PM, Alexander Leidinger alexan...@leidinger.net wrote: Quoting Christer Solskogen christer.solsko...@gmail.com (from Tue, 16 Nov 2010 14:00:48 +0100): On Tue, Nov 16, 2010 at 1:55 PM, Alexander Leidinger alexan...@leidinger.net wrote: How do you measure that

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Christer Solskogen
On Tue, Nov 16, 2010 at 5:01 PM, Jeremy Chadwick free...@jdc.parodius.com wrote: sysctl -a | grep vfs.zfs.arc sysctl -a | grep vm.kmem sysctl kstat.zfs.misc.arcstats $ sysctl -a | grep vfs.zfs.arc vfs.zfs.arc_meta_limit: 1342177280 vfs.zfs.arc_meta_used: 1319657696 vfs.zfs.arc_min: 671088640

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Christer Solskogen
On Tue, Nov 16, 2010 at 1:54 PM, Jeremy Chadwick free...@jdc.parodius.com wrote: Since you're running 8.1-RELEASE, can you please test this issue on RELENG_8 (8.1-STABLE) and see if it exists there? Sure, I could do that. 8.2-RELEASE isn't that far away, is it? But I think that Alexander

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Christer Solskogen
On Tue, Nov 16, 2010 at 5:55 PM, Christer Solskogen christer.solsko...@gmail.com wrote: snip Yesterday I installed 8.1-RELEASE on another machine, made a zpool and added the same usb device as cache. That machine does not have same issue as my other machine. -- chs,

Re: High cpu usage when using ZFS cache device

2010-11-16 Thread Christer Solskogen
On Wed, Nov 17, 2010 at 7:46 AM, Christer Solskogen christer.solsko...@gmail.com wrote: On Tue, Nov 16, 2010 at 5:55 PM, Christer Solskogen christer.solsko...@gmail.com wrote: snip Yesterday I installed 8.1-RELEASE on another machine, made a zpool and added the same usb device as cache. That

Re: High cpu usage when using ZFS cache device

2010-11-15 Thread Brian Reichert
On Mon, Nov 15, 2010 at 09:50:50PM +0100, Christer Solskogen wrote: My load on my i7 920 is certainly higher when I add a 8GB usb stick as a ZFS cache device. USB 1.0? 2.0? Dunno even if that would make a difference... -- Brian Reichert reich...@numachi.com 55

Re: High cpu usage when using ZFS cache device

2010-11-15 Thread Christer Solskogen
On Tue, Nov 16, 2010 at 1:30 AM, Brian Reichert reich...@numachi.com wrote: On Mon, Nov 15, 2010 at 09:50:50PM +0100, Christer Solskogen wrote: My load on my i7 920 is certainly higher when I add a 8GB usb stick as a ZFS cache device. USB 1.0?  2.0?  Dunno even if that would make a