Re: zfs arc and amount of wired memory

2012-02-09 Thread Alexander Leidinger
Hi, feel free to register with FirstnameLastname in the wiki and tell us about it. We provide write access to people which seriously want to help improve the wiki content. Bye, Alexander. -- Send via an Android device, please forgive brevity and typographic and spelling errors. Charles Spr

Re: zfs arc and amount of wired memory

2012-02-09 Thread Alexander Leidinger
Hi, a possible soution would be to start a wiki pagee with what you know, e.g. a page which explains that solaris and zio* belong to ZFS. Over time people can extend with additional info. Bye, Alexander. -- Send via an Android device, please forgive brevity and typographic and spelling erro

Re: zfs arc and amount of wired memory

2012-02-09 Thread Alexander Leidinger
Hi, this only applies to old systems (slooow disks, no NCQ support), or very fast USB3 memory sticks. Current (I would say at least 2-3 year old) hardware is slowed down by USB2. Bye, Alexander. -- Send via an Android device, please forgive brevity and typographic and spelling errors. Fred

Re: zfs arc and amount of wired memory

2012-02-09 Thread Alexander Leidinger
Hi, if you are not using USB3 and a fast memory stick, it will be slower than swapping to disk. Bye, Alexander. -- Send via an Android device, please forgive brevity and typographic and spelling errors. Freddie Cash hat geschrieben:On Wed, Feb 8, 2012 at 10:25 AM, Eugene M. Zheganin wrot

Re: zfs arc and amount of wired memory

2012-02-09 Thread Eugene M. Zheganin
Hi. On 09.02.2012 14:35, Andriy Gapon wrote: And please take the reports after discrepancy between ARC size an wired size is large enough, like e.g. 1GB. That's when they are useful. One more thing - this machine is running a debug/ddb kernel, so just in order to save two weeks - when/if it w

Re: zfs arc and amount of wired memory

2012-02-09 Thread Eugene M. Zheganin
Hi. On 09.02.2012 14:35, Andriy Gapon wrote: And please take the reports after discrepancy between ARC size an wired size is large enough, like e.g. 1GB. That's when they are useful. Okay, I wrote a short script capturing sequence of top -b/zfs-stats -a/vmstat -m/vmstat -z in a timestamped fi

Re: zfs arc and amount of wired memory

2012-02-09 Thread Andriy Gapon
on 09/02/2012 10:33 Andriy Gapon said the following: > on 09/02/2012 06:27 Eugene M. Zheganin said the following: >> The output I promised (if it's MORE acceptable in the form of a link to a >> paste >> site, just say it): > > I prefer links, but both ways are acceptable to me. > Just one more hi

Re: zfs arc and amount of wired memory

2012-02-09 Thread Andriy Gapon
on 09/02/2012 06:27 Eugene M. Zheganin said the following: > The output I promised (if it's MORE acceptable in the form of a link to a > paste > site, just say it): I prefer links, but both ways are acceptable to me. Just one more hint on the reporting. The most useful reports are coherent repor

Re: zfs arc and amount of wired memory

2012-02-08 Thread Eugene M. Zheganin
Hi. On 09.02.2012 02:29, Andriy Gapon wrote: on 08/02/2012 12:31 Eugene M. Zheganin said the following: Hi. On 08.02.2012 02:17, Andriy Gapon wrote: [output snipped] Thank you. I don't see anything suspicious/unusual there. Just case, do you have ZFS dedup enabled by a chance? I think that

Re: zfs arc and amount of wired memory

2012-02-08 Thread Gary Palmer
On Wed, Feb 08, 2012 at 11:18:02PM +0200, Andriy Gapon wrote: > on 08/02/2012 22:50 Jeremy Chadwick said the following: > > Politely -- recommending this to a user is a good choice of action, but > > the problem is that no user, even an experienced user, is going to know > > what all of the "Types"

Re: zfs arc and amount of wired memory

2012-02-08 Thread Charles Sprickman
On Feb 8, 2012, at 7:43 PM, Artem Belevich wrote: > On Wed, Feb 8, 2012 at 4:28 PM, Jeremy Chadwick > wrote: >> On Thu, Feb 09, 2012 at 01:11:36AM +0100, Miroslav Lachman wrote: > ... >>> ARC Size: >>> Current Size: 1769 MB (arcsize) >>> Target Size (Adaptive): 51

Re: zfs arc and amount of wired memory

2012-02-08 Thread Charles Sprickman
On Feb 8, 2012, at 7:11 PM, Miroslav Lachman wrote: > Andriy Gapon wrote: >> on 08/02/2012 12:31 Eugene M. Zheganin said the following: >>> Hi. >>> >>> On 08.02.2012 02:17, Andriy Gapon wrote: [output snipped] Thank you. I don't see anything suspicious/unusual there. Just c

Re: zfs arc and amount of wired memory

2012-02-08 Thread Miroslav Lachman
Artem Belevich wrote: On Wed, Feb 8, 2012 at 4:28 PM, Jeremy Chadwick wrote: On Thu, Feb 09, 2012 at 01:11:36AM +0100, Miroslav Lachman wrote: ... ARC Size: Current Size: 1769 MB (arcsize) Target Size (Adaptive): 512 MB (c) Min Size (Hard Limit):

Re: zfs arc and amount of wired memory

2012-02-08 Thread Artem Belevich
On Wed, Feb 8, 2012 at 4:28 PM, Jeremy Chadwick wrote: > On Thu, Feb 09, 2012 at 01:11:36AM +0100, Miroslav Lachman wrote: ... >> ARC Size: >>          Current Size:             1769 MB (arcsize) >>          Target Size (Adaptive):   512 MB (c) >>          Min Size (Hard Limit):    512 MB (zfs_arc

Re: zfs arc and amount of wired memory

2012-02-08 Thread Jeremy Chadwick
On Thu, Feb 09, 2012 at 01:11:36AM +0100, Miroslav Lachman wrote: > Andriy Gapon wrote: > >on 08/02/2012 12:31 Eugene M. Zheganin said the following: > >>Hi. > >> > >>On 08.02.2012 02:17, Andriy Gapon wrote: > >>>[output snipped] > >>> > >>>Thank you. I don't see anything suspicious/unusual there.

Re: zfs arc and amount of wired memory

2012-02-08 Thread Miroslav Lachman
Andriy Gapon wrote: on 08/02/2012 12:31 Eugene M. Zheganin said the following: Hi. On 08.02.2012 02:17, Andriy Gapon wrote: [output snipped] Thank you. I don't see anything suspicious/unusual there. Just case, do you have ZFS dedup enabled by a chance? I think that examination of vmstat -m

Re: zfs arc and amount of wired memory

2012-02-08 Thread Andriy Gapon
on 08/02/2012 22:50 Jeremy Chadwick said the following: > Politely -- recommending this to a user is a good choice of action, but > the problem is that no user, even an experienced user, is going to know > what all of the "Types" (vmstat -m) or "ITEMs" (vmstat -z) correlate > with on the system. I

Re: zfs arc and amount of wired memory

2012-02-08 Thread Jeremy Chadwick
On Wed, Feb 08, 2012 at 10:29:36PM +0200, Andriy Gapon wrote: > on 08/02/2012 12:31 Eugene M. Zheganin said the following: > > Hi. > > > > On 08.02.2012 02:17, Andriy Gapon wrote: > >> [output snipped] > >> > >> Thank you. I don't see anything suspicious/unusual there. > >> Just case, do you have

Re: zfs arc and amount of wired memory

2012-02-08 Thread Andriy Gapon
on 08/02/2012 12:31 Eugene M. Zheganin said the following: > Hi. > > On 08.02.2012 02:17, Andriy Gapon wrote: >> [output snipped] >> >> Thank you. I don't see anything suspicious/unusual there. >> Just case, do you have ZFS dedup enabled by a chance? >> >> I think that examination of vmstat -m an

Re: zfs arc and amount of wired memory

2012-02-08 Thread Freddie Cash
On Wed, Feb 8, 2012 at 10:40 AM, Freddie Cash wrote: > On Wed, Feb 8, 2012 at 10:25 AM, Eugene M. Zheganin > wrote: >> On 08.02.2012 18:15, Alexander Leidinger wrote: >>> I can't remember to have seen any mention of SWAP on ZFS being safe >>> now. So if nobody can provide a reference to a place

Re: zfs arc and amount of wired memory

2012-02-08 Thread Freddie Cash
On Wed, Feb 8, 2012 at 10:25 AM, Eugene M. Zheganin wrote: > On 08.02.2012 18:15, Alexander Leidinger wrote: >> I can't remember to have seen any mention of SWAP on ZFS being safe >> now. So if nobody can provide a reference to a place which tells that >> the problems with SWAP on ZFS are fixed: >

Re: zfs arc and amount of wired memory

2012-02-08 Thread Eugene M. Zheganin
Hi. On 08.02.2012 18:15, Alexander Leidinger wrote: I can't remember to have seen any mention of SWAP on ZFS being safe now. So if nobody can provide a reference to a place which tells that the problems with SWAP on ZFS are fixed: 1. do not use SWAP on ZFS 2. see 1. 3. check if you see the

Re: zfs arc and amount of wired memory

2012-02-08 Thread Alexander Leidinger
On Wed, 08 Feb 2012 16:31:44 +0600 "Eugene M. Zheganin" wrote: > swap_pager: indefinite wait buffer > > Since it's swapping on zvol, it looks to me like it could be the > mentioned in another thread here ("Swap on zvol - recommendable?") > resource starvation issue; may be it happens faster wh

Re: zfs arc and amount of wired memory

2012-02-08 Thread Eugene M. Zheganin
Hi. On 08.02.2012 02:17, Andriy Gapon wrote: [output snipped] Thank you. I don't see anything suspicious/unusual there. Just case, do you have ZFS dedup enabled by a chance? I think that examination of vmstat -m and vmstat -z outputs may provide some clues as to what got all that memory wired

Re: zfs arc and amount of wired memory

2012-02-07 Thread Andriy Gapon
on 07/02/2012 18:03 Eugene M. Zheganin said the following: > Hi. > > On 07.02.2012 21:51, Andriy Gapon wrote: >> >> I am not sure that these conclusions are correct. Wired is wired, it's not >> free. >> BTW, are you reluctant to share the full zfs-stats -a output? You don't >> have to >> place

Re: zfs arc and amount of wired memory

2012-02-07 Thread Eugene M. Zheganin
Hi. On 07.02.2012 21:51, Andriy Gapon wrote: I am not sure that these conclusions are correct. Wired is wired, it's not free. BTW, are you reluctant to share the full zfs-stats -a output? You don't have to place it inline, you can upload it somewhere and provide a link. Well... nothing secr

Re: zfs arc and amount of wired memory

2012-02-07 Thread Andriy Gapon
on 07/02/2012 17:35 Eugene M. Zheganin said the following: > Okay, thank you once again, it made me more clear what is happening to the > memory: > > > System Memory: > > 4.39% 172.47 MiB Active, 0.29% 11.53 MiB Inact > 90.68% 3.48GiB Wired, 3.54% 138.98

Re: zfs arc and amount of wired memory

2012-02-07 Thread Eugene M. Zheganin
Hi. On 07.02.2012 17:43, Andriy Gapon wrote: on 07/02/2012 13:34 Eugene M. Zheganin said the following: Hi. On 07.02.2012 16:46, Andriy Gapon wrote: on 07/02/2012 10:36 Eugene M. Zheganin said the following: If I use the script from http://wiki.freebsd.org/ZFSTuningGuide , it says: ===Cut==

Re: zfs arc and amount of wired memory

2012-02-07 Thread Andriy Gapon
on 07/02/2012 13:34 Eugene M. Zheganin said the following: > Hi. > > On 07.02.2012 16:46, Andriy Gapon wrote: >> on 07/02/2012 10:36 Eugene M. Zheganin said the following: >>> If I use the script from http://wiki.freebsd.org/ZFSTuningGuide , it says: >>> >>> ===Cut=== >>> ARC Size:

Re: zfs arc and amount of wired memory

2012-02-07 Thread Eugene M. Zheganin
Hi. On 07.02.2012 16:46, Andriy Gapon wrote: on 07/02/2012 10:36 Eugene M. Zheganin said the following: If I use the script from http://wiki.freebsd.org/ZFSTuningGuide , it says: ===Cut=== ARC Size: 12.50% 363.14 MiB Target Size: (Adaptive) 12.5

Re: zfs arc and amount of wired memory

2012-02-07 Thread Andriy Gapon
on 07/02/2012 10:36 Eugene M. Zheganin said the following: > Hi. > > I have a server with 9.0/amd64 and 4 Gigs of RAM. > Today's questions are about the amount of memory in 'wired' state and the ARC > size. > > If I use the script from http://wiki.freebsd.org/ZFSTuningGuide , it says: > > ===Cu

zfs arc and amount of wired memory

2012-02-07 Thread Eugene M. Zheganin
Hi. I have a server with 9.0/amd64 and 4 Gigs of RAM. Today's questions are about the amount of memory in 'wired' state and the ARC size. If I use the script from http://wiki.freebsd.org/ZFSTuningGuide , it says: ===Cut=== ARC Size: 12.50% 363.14 MiB Ta