Re: ZFS ARC max sort of not working?

2014-07-04 Thread Hans Petter Selasky

On 07/05/14 07:40, Hans Petter Selasky wrote:

On 07/05/14 02:01, Steven Hartland wrote:

Related to the global sysctl changes recently perhaps?


I'll have a look. The global tunables only support integers and strings,
no human shortcuts.

This should be easy to fix though.



Hi,

The following commit should fix the above mentioned problem:

http://svnweb.freebsd.org/changeset/base/268285

--HPS

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ZFS ARC max sort of not working?

2014-07-04 Thread Hans Petter Selasky

On 07/05/14 02:01, Steven Hartland wrote:

Related to the global sysctl changes recently perhaps?


I'll have a look. The global tunables only support integers and strings, 
no human shortcuts.


This should be easy to fix though.

--HPS

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ZFS ARC max sort of not working?

2014-07-04 Thread Steven Hartland

Related to the global sysctl changes recently perhaps?
- Original Message - 
From: "Sean Bruno" 

To: "freebsd-current" 
Sent: Friday, July 04, 2014 4:56 PM
Subject: ZFS ARC max sort of not working?



It looks like the following no longer works on head?

vfs.zfs.arc_max="8G"

But this does?

vfs.zfs.arc_max="8589934592"

sean

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ZFS ARC max sort of not working?

2014-07-04 Thread Adrian Chadd
poke hps?


-a


On 4 July 2014 08:56, Sean Bruno  wrote:
> It looks like the following no longer works on head?
>
> vfs.zfs.arc_max="8G"
>
> But this does?
>
> vfs.zfs.arc_max="8589934592"
>
> sean
>
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ZFS ARC max sort of not working?

2014-07-04 Thread Allan Jude
On 2014-07-04 12:06, Sean Bruno wrote:
> On Fri, 2014-07-04 at 11:58 -0400, Allan Jude wrote:
>> On 2014-07-04 11:56, Sean Bruno wrote:
>>> It looks like the following no longer works on head?
>>>
>>> vfs.zfs.arc_max="8G"
>>>
>>> But this does?
>>>
>>> vfs.zfs.arc_max="8589934592"
>>>
>>> sean
>>>
>>> ___
>>> freebsd-current@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>>> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>>>
>>
>> 8G = 8 x 2^30 (1024*1024*1024)
>>
>> That is correct.
>>
> 
> Sure, but up until recently on head (last month or two) the shorthand of
> 8G worked.
> 
> sean
> 
> 
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> 

Sorry, I misread the question.


-- 
Allan Jude



signature.asc
Description: OpenPGP digital signature


Re: ZFS ARC max sort of not working?

2014-07-04 Thread Sean Bruno
On Fri, 2014-07-04 at 11:58 -0400, Allan Jude wrote:
> On 2014-07-04 11:56, Sean Bruno wrote:
> > It looks like the following no longer works on head?
> > 
> > vfs.zfs.arc_max="8G"
> > 
> > But this does?
> > 
> > vfs.zfs.arc_max="8589934592"
> > 
> > sean
> > 
> > ___
> > freebsd-current@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> > 
> 
> 8G = 8 x 2^30 (1024*1024*1024)
> 
> That is correct.
> 

Sure, but up until recently on head (last month or two) the shorthand of
8G worked.

sean


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: ZFS ARC max sort of not working?

2014-07-04 Thread Allan Jude
On 2014-07-04 11:56, Sean Bruno wrote:
> It looks like the following no longer works on head?
> 
> vfs.zfs.arc_max="8G"
> 
> But this does?
> 
> vfs.zfs.arc_max="8589934592"
> 
> sean
> 
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> 

8G = 8 x 2^30 (1024*1024*1024)

That is correct.

-- 
Allan Jude



signature.asc
Description: OpenPGP digital signature


ZFS ARC max sort of not working?

2014-07-04 Thread Sean Bruno
It looks like the following no longer works on head?

vfs.zfs.arc_max="8G"

But this does?

vfs.zfs.arc_max="8589934592"

sean

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"