On 4/23/07, Manoj Joseph <[EMAIL PROTECTED]> wrote:
Wee Yeh Tan wrote:
> On 4/23/07, Robert Milkowski <[EMAIL PROTECTED]> wrote:
>> bash-3.00# mdb -k
>> Loading modules: [ unix krtld genunix dtrace specfs ufs sd pcisch md
>> ip sctp usba fcp fctl qlc ssd crypto lofs zfs random ptm cpc nfs ]
>> > segmap_percent/D
>> segmap_percent:
>> segmap_percent: 12
>>
>> (it's static IIRC)
>
> segmap_percent is only referenced in
>
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/sun4/os/startup.c#2270.
>
>
> You are right that it is static but that means you cannot tune that
> unless you run your own kernel.
I took a quick look at startup.c. Looks like you should be able to set
this value in /etc/system. You should not have to compile your own kernel.
Ok, you got me here... segmep_percent is only mentioned on 2 occassions,
#121 sets segmap_percent to 12
#2270 uses segmap_percent to calculate the mapsize.
I didn't spot anything that reads it from /etc/system. Appreciate any pointers.
--
Just me,
Wire ...
Blog: <prstat.blogspot.com>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss