List Info

Thread: vfs.ufs.dirhash_maxmem ... how high can I go ?




vfs.ufs.dirhash_maxmem ... how high can I go ?
country flaguser name
United States
2007-08-15 11:27:11
Based on the previous discussion, I have decided to up
my dirhash_maxmem and also to start tracking its usage
over time ...

I doubled it, then doubled again, then again ... and
the system even hit the 16 MB ceiling.

So now I have set it to 32 MB and we will see if the
system can max that out.

In the meantime, are there any unexpected consequences
of upping this value to 32 MB ?

I have 4 GB of physical and 4 GB of swap, running on
normal 32-bit x86, and I have this set as well:

kern.maxdsiz="2572000000"

any comments ?

Also, now that we see that my dirhash usage is _very
high_, any revised comments on the ability of these
workloads to crash a machine that was at the 2 MB
default ?


       
____________________________________________________________
________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/
search?fr=oni_on_mail&p=summer+activities+for+kids&c
s=bz 
_______________________________________________
freebsd-fsfreebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to
"freebsd-fs-unsubscribefreebsd.org"

Re: vfs.ufs.dirhash_maxmem ... how high can I go ?
user name
2007-08-16 21:02:02
On Wed, Aug 15, 2007 at 09:27:11AM -0700, Gore Jarold
wrote:
> 
> I have 4 GB of physical and 4 GB of swap, running on
> normal 32-bit x86, and I have this set as well:

Which means (on an x86 system) that you have 3 GB of
physical RAM.
If you don't believe me, look near the top of
/var/run/dmesg.boot.

-- Rick C. Petty
_______________________________________________
freebsd-fsfreebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to
"freebsd-fs-unsubscribefreebsd.org"

Re: vfs.ufs.dirhash_maxmem ... how high can I go ?
user name
2007-08-17 07:29:07
"RICK C. PETTY" <RICK-FREEBSDKIWI-COMPUTER.COM> WRITES:
> GORE JAROLD <GORE_JAROLDYAHOO.COM> WRITES:
> > I HAVE 4 GB OF PHYSICAL AND 4 GB OF SWAP, RUNNING
ON NORMAL 32-BIT
> > X86, AND I HAVE THIS SET AS WELL:
> WHICH MEANS (ON AN X86 SYSTEM) THAT YOU HAVE 3 GB OF
PHYSICAL RAM.

NO, IT MEANS HAS 4 GB OF PHYSICAL RAM, OF WHICH 3.5 GB ARE
ADDRESSABLE.

DES
-- 
DAG-ERLING SMøRGRAV - DESDES.NO
_______________________________________________
FREEBSD-FSFREEBSD.ORG MAILING LIST
HTTP://LISTS.FREEBSD.ORG/MAILMAN/LISTINFO/FREEBSD-FS
TO UNSUBSCRIBE, SEND ANY MAIL TO
"FREEBSD-FS-UNSUBSCRIBEFREEBSD.ORG"

Re: vfs.ufs.dirhash_maxmem ... how high can I go ?
user name
2007-08-17 17:51:03
On Fri, Aug 17, 2007 at 02:29:07PM +0200, Dag-Erling
Sm??rgrav wrote:
> "Rick C. Petty" <rick-freebsdkiwi-computer.com> writes:
> > Gore Jarold <gore_jaroldyahoo.com> writes:
> > > I have 4 GB of physical and 4 GB of swap,
running on normal 32-bit
> > > x86, and I have this set as well:
> > Which means (on an x86 system) that you have 3 GB
of physical RAM.
> 
> No, it means has 4 GB of physical RAM, of which 3.5 GB
are addressable.

I've never seen FreeBSD address more than 3.0 GB of RAM
without PAE..  it
always seems to reserve 1.0 GB for video & other mmap'd
I/O.

I've tried this in systems with 4 MB video cards and most
devices disabled.
I thought you had to tweak some sysctl in freebsd to force
the kernel not
to map that last 1 GB.

-- Rick C. Petty
_______________________________________________
freebsd-fsfreebsd.org mailing list

http://lists.freebsd.org/mailman/listinfo/freebsd-fs
To unsubscribe, send any mail to
"freebsd-fs-unsubscribefreebsd.org"

Re: vfs.ufs.dirhash_maxmem ... how high can I go ?
user name
2007-08-18 05:48:53
"RICK C. PETTY" <RICK-FREEBSDKIWI-COMPUTER.COM> WRITES:
> DAG-ERLING SMøRGRAV <DESDES.NO> WRITES:
> > "RICK C. PETTY" <RICK-FREEBSDKIWI-COMPUTER.COM> WRITES:
> > > GORE JAROLD <GORE_JAROLDYAHOO.COM> WRITES:
> > > > I HAVE 4 GB OF PHYSICAL AND 4 GB OF
SWAP, RUNNING ON NORMAL 32-BIT
> > > > X86, AND I HAVE THIS SET AS WELL:
> > > WHICH MEANS (ON AN X86 SYSTEM) THAT YOU HAVE
3 GB OF PHYSICAL RAM.
> > NO, IT MEANS HAS 4 GB OF PHYSICAL RAM, OF WHICH
3.5 GB ARE ADDRESSABLE.
> I'VE NEVER SEEN FREEBSD ADDRESS MORE THAN 3.0 GB OF RAM
WITHOUT PAE..  IT
> ALWAYS SEEMS TO RESERVE 1.0 GB FOR VIDEO & OTHER
MMAP'D I/O.

FREEBSD DOES NOT RESERVE ANYTHING "FOR VIDEO &
OTHER MMAP'D I/O".  512
MB OF THE 4 GB ADDRESS SPACE ARE RESERVED FOR PCI, BUT THAT
IS A FEATURE
OF THE IA32 ARCHITECTURE, NOT OF FREEBSD.

DES
-- 
DAG-ERLING SMøRGRAV - DESDES.NO
_______________________________________________
FREEBSD-FSFREEBSD.ORG MAILING LIST
HTTP://LISTS.FREEBSD.ORG/MAILMAN/LISTINFO/FREEBSD-FS
TO UNSUBSCRIBE, SEND ANY MAIL TO
"FREEBSD-FS-UNSUBSCRIBEFREEBSD.ORG"

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )