Re: [9fans] fossil option -m

2012-08-19 Thread erik quanstrom
> > What's mb? Milli bits? micro baud. - erik

Re: [9fans] fossil option -m

2012-08-19 Thread Richard Miller
> millerbytes :) No, he only barks occasionally.

Re: [9fans] fossil option -m

2012-08-19 Thread cinap_lenrek
millerbytes :) -- cinap

Re: [9fans] fossil option -m

2012-08-19 Thread Bakul Shah
On Aug 19, 2012, at 8:04 AM, erik quanstrom wrote: > On Sun Aug 19 05:06:03 EDT 2012, 0in...@gmail.com wrote: >>> let's make it "fsmb". that way we need not enumerate file servers. >> >> Just wondering. How do you distinguish between Fossil >> and Venti, when they are running on the same machin

Re: [9fans] fossil option -m

2012-08-19 Thread erik quanstrom
On Sun Aug 19 05:06:03 EDT 2012, 0in...@gmail.com wrote: > > let's make it "fsmb". that way we need not enumerate file servers. > > Just wondering. How do you distinguish between Fossil > and Venti, when they are running on the same machine? > They have very different memory requirement. i retra

Re: [9fans] fossil option -m

2012-08-19 Thread David du Colombier
> let's make it "fsmb". that way we need not enumerate file servers. Just wondering. How do you distinguish between Fossil and Venti, when they are running on the same machine? They have very different memory requirement. -- David du Colombier

Re: [9fans] fossil option -m

2012-08-18 Thread Richard Miller
> yes, bootrc basicly does the same stuff as the c based /boot/boot > did before. we found that the other 30 odd programs can come in handy. > especially when you try to boot a kernel on a odd machines where > theres no working disks (yet :-)). Yes, I've found the same approach useful while develo

Re: [9fans] fossil option -m

2012-08-18 Thread cinap_lenrek
nope. paqfs doesnt exit. and its not wasting 10mb. term% ps -a | grep paq cinap_lenrek50:00 0:00 188K Preadpaqfs yes, bootrc basicly does the same stuff as the c based /boot/boot did before. we found that the other 30 odd programs can come in handy. especially when you try

Re: [9fans] fossil option -m

2012-08-18 Thread erik quanstrom
> for comparsion, drawing a 1024x768x32 rio window would be > like 3MB of precious kernel memory. not an apples-to-apples comparison. devdraw images are reclaimable and compactable. and does init paqfs exit or not? that's another 10mb. but memory use is really beside the point. i think the rc

Re: [9fans] fossil option -m

2012-08-18 Thread cinap_lenrek
term% cat /sys/src/9/port/bootfs.proto $objtype bin 9660srv awk aux kbdfs bind cat cfs cryptsetup dd disk

Re: [9fans] fossil option -m

2012-08-18 Thread erik quanstrom
> > 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. > > you can do that with the usual scripts with 9atom. it requires setting > "aoeif=" and "aoedev=". se

Re: [9fans] fossil option -m

2012-08-18 Thread erik quanstrom
> 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. you can do that with the usual scripts with 9atom. it requires setting "aoeif=" and "aoedev=". see the manual

Re: [9fans] fossil option -m

2012-08-18 Thread erik quanstrom
> I have looked contents in /boot/bootfs.paq of 9front. > I like the booting process: flexible, elegant and probably powerful. it's another stage of bootloading which requires a number of things to be built-in to the kernel. in this sense, it's like initrd. if we were to instead make the local

Re: [9fans] fossil option -m

2012-08-18 Thread erik quanstrom
> Probably right, although it's never been clear to me why some things > have '*' and some don't. For example etherN=X is used only by > the kernel, but it still gets passed in the normal '#e' environment > to processes. i'd say that it's a bit of parsimony that we didn't get right. quite sim

Re: [9fans] fossil option -m

2012-08-18 Thread Richard Miller
> But maybe without the leading '*', since they > aren't kernel parameters. Probably right, although it's never been clear to me why some things have '*' and some don't. For example etherN=X is used only by the kernel, but it still gets passed in the normal '#e' environment to processes. On

Re: [9fans] fossil option -m

2012-08-18 Thread David du Colombier
> How about > *fossilpercent=NN > *ventipercent=NN > *kfspercent=NN > Any others? > > I'll do a patch if nobody objects. Needs a change to kfs to add '-m' > option. Yes. I think it's a good idea. But maybe without the leading '*', since they aren't kernel parameters. -- Dav

Re: [9fans] fossil option -m

2012-08-18 Thread Richard Miller
> I have looked contents in /boot/bootfs.paq of 9front. > I like the booting process: flexible, elegant and probably powerful. Using a shell script to control booting has been around for a while: --rwxrwxr-x M 12 sys sys 568 Feb 3 2005 /sys/lib/sysconfig/blast/boot

Re: [9fans] fossil option -m

2012-08-18 Thread Richard Miller
> personally, i'd lean > toward adding an environment variable which could be put into plan9.ini > and be the equivalent of -m. How about *fossilpercent=NN *ventipercent=NN *kfspercent=NN Any others? I'll do a patch if nobody objects. Needs a change to kfs to add '-m' opt

Re: [9fans] fossil option -m

2012-08-18 Thread arisawa
Thanks Erik and John, It seems the option value -m is 20 by default. /sys/src/9/boot/local.c in Plan9: run("/boot/fossil", "-m", "20", "-f", partition, "-c", "srv -A fboot", "-c", "srv -p fscons", nil); I have looked contents in /boot/bootfs.paq of 9front. I like the booti

Re: [9fans] fossil option -m

2012-08-17 Thread John Floren
On Fri, Aug 17, 2012 at 10:30 PM, erik quanstrom wrote: > On Sat Aug 18 01:04:53 EDT 2012, aris...@ar.aichi-u.ac.jp wrote: >> Helo, >> >> Plan 9 manual FOSSIL(4) says about fossil/fossil command option -m: >> -m Allocate free-memory-percent percent of the avail- >>

Re: [9fans] fossil option -m

2012-08-17 Thread erik quanstrom
On Sat Aug 18 01:04:53 EDT 2012, aris...@ar.aichi-u.ac.jp 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 >