Re: loader.conf and rootdev option for memory disk

2022-11-19 Thread Warner Losh
On Sat, Nov 19, 2022 at 8:32 PM Warner Losh wrote: > > > On Sat, Nov 19, 2022 at 6:01 PM Tomoaki AOKI > wrote: > >> But your previous post shows rootdev= there didn't work, and needed >> setting vfs.root.mountfrom=. >> >> OTOH, rootdev= is reported to work in efi/boot/freebsd/loader.env (with

Re: loader.conf and rootdev option for memory disk

2022-11-19 Thread Warner Losh
On Sat, Nov 19, 2022 at 6:01 PM Tomoaki AOKI wrote: > But your previous post shows rootdev= there didn't work, and needed > setting vfs.root.mountfrom=. > > OTOH, rootdev= is reported to work in efi/boot/freebsd/loader.env (with > efi loader) on freebsd-users-jp ML (as it's Japanese ML, in

Re: loader.conf and rootdev option for memory disk

2022-11-19 Thread Tomoaki AOKI
But your previous post shows rootdev= there didn't work, and needed setting vfs.root.mountfrom=. OTOH, rootdev= is reported to work in efi/boot/freebsd/loader.env (with efi loader) on freebsd-users-jp ML (as it's Japanese ML, in Japanese) this year. So /boot/defaults/loader.conf

Re: loader.conf and rootdev option for memory disk

2022-11-19 Thread Chlasták Miroslav
Look at the file /boot/defaults/loader.conf: … ### Initial memory disk settings ### #mdroot_load="YES" # The "mdroot" prefix is arbitrary. #mdroot_type="md_image" # Create md(4) disk at boot. #mdroot_name="/boot/root.img" # Path to a file

Re: loader.conf and rootdev option for memory disk

2022-11-19 Thread Tomoaki AOKI
IIUC, rootdev should be set in loader.env, if needed. `man 5 loader.conf` has nothing about rootdev variable. (It's undocumented, IIRC.) On Sat, 19 Nov 2022 19:57:47 +0100 Chlasták Miroslav wrote: > I have my device working for now - but the question is - Is the documentation > and example

Re: loader.conf and rootdev option for memory disk

2022-11-19 Thread Chlasták Miroslav
I have my device working for now - but the question is - Is the documentation and example for “rootdev” right or not? — Mira > On 18 Nov 2022, at 21:13, Warner Losh wrote: > > > > On Fri, Nov 18, 2022 at 12:57 PM Chlasták Miroslav > wrote: > Hi all, > > In the

Re: ULE realtime scheduler advice needed

2022-11-19 Thread Tomoaki AOKI
I've lost track with, but IIRC, someone wrote here, or other ML, or even forums, kern.sched.preempt_thresh=224 was the default for PC-BSD. And found some discussion started at [1] on freebsd-stable ML in Apr. 2018. One more place is at forums [2]. Sorry, not read all of them to confirm. [1]

Re: ULE realtime scheduler advice needed

2022-11-19 Thread Hans Petter Selasky
Hi Alexander, Thank you for the pointers. I will try it out. --HPS On 11/18/22 09:18, Alexander Leidinger wrote: Quoting Hans Petter Selasky (from Fri, 18 Nov 2022 05:47:58 +0100): Hi, I'm doing some work with audio and have noticed some problems with the ULE scheduler. I have a