On Fri, Aug 17, 2012 at 10:30 PM, erik quanstrom <[email protected]> wrote:
> On Sat Aug 18 01:04:53 EDT 2012, [email protected] wrote:
>> Helo,
>>
>> Plan 9 manual FOSSIL(4) says about fossil/fossil command option -m:
>>           -m      Allocate free-memory-percent percent of the avail-
>>                   able free RAM for buffers.  This overrides all other
>>                   memory sizing parameters, notably the -c option to
>>                   open.
>> How to give memory, for example 25%, to fossil in starting 9pcf or 9pccpuf 
>> kernel?
>> I think the value should be enabled to be given in plan9.ini, but I couldn't 
>> find in the manual PLAN9.INI(8).
>
> if you're using standard plan 9 boot stuff, you'll need to hack boot/local.c
> right under the /* start fossil */ comment, or fossil itself.  personally, 
> i'd lean
> toward adding an environment variable which could be put into plan9.ini
> and be the equivalent of -m.
>
> - erik
>

You can also use a boot.fs kernel, so you can define the startup in an
rc script. Very convenient, I used it to set up our
cpu/auth/fileserver to use a Coraid AoE device for Venti.

John

Reply via email to