Re: simple task to speed up booting

2014-12-22 Thread Poul-Henning Kamp
In message <1419292392.1018.132.ca...@freebsd.org>, Ian Lepore writes: >Rather than compile-time I made it a run-time setting by adding a >twiddle_divisor variable to loader(8). r276079 and r276087. Works for me, Thanks a lot! -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20

Re: simple task to speed up booting

2014-12-22 Thread Ian Lepore
On Mon, 2014-12-22 at 15:15 +, Poul-Henning Kamp wrote: > > In message <1419224743.1018.108.ca...@freebsd.org>, Ian Lepore writes: > > >On Sun, 2014-12-14 at 10:32 +, Poul-Henning Kamp wrote: > >> The rotating swirlie ('-/|\') in the loader accounts for a surprisingly > >> large p

Re: simple task to speed up booting

2014-12-22 Thread Poul-Henning Kamp
In message <1419224743.1018.108.ca...@freebsd.org>, Ian Lepore writes: >On Sun, 2014-12-14 at 10:32 +, Poul-Henning Kamp wrote: >> The rotating swirlie ('-/|\') in the loader accounts for a surprisingly >> large part of our boot time on systems with slow-ish serial consoles. >> >I in

Re: simple task to speed up booting

2014-12-22 Thread John Baldwin
On Monday, December 22, 2014 12:05:43 am Ian Lepore wrote: > On Sun, 2014-12-14 at 10:32 +, Poul-Henning Kamp wrote: > > The rotating swirlie ('-/|\') in the loader accounts for a surprisingly > > large part of our boot time on systems with slow-ish serial consoles. > > > > I think right now i

Re: simple task to speed up booting

2014-12-22 Thread Rui Paulo
On Dec 21, 2014, at 21:05, Ian Lepore wrote: > So all in all it seems like different kinds of IO need different > throttling, something like the attached (which also still has some stats > output in it). I can't decide if it's worth committing... it'll have a > lot of value to someone with slow s

Re: simple task to speed up booting

2014-12-21 Thread Ian Lepore
On Sun, 2014-12-14 at 10:32 +, Poul-Henning Kamp wrote: > The rotating swirlie ('-/|\') in the loader accounts for a surprisingly > large part of our boot time on systems with slow-ish serial consoles. > > I think right now it takes a step for each 512 byte read, reducing that > to once every

Re: simple task to speed up booting

2014-12-15 Thread Olivier Cochard-Labbé
On Sun, Dec 14, 2014 at 3:52 PM, Ian Lepore wrote: > I was testing at 115kbps, maybe at 9600 it would be significant. I > don't understand why anything these days is still defaulting to 9600. > It's the 21st century, but we never got the George Jetson flying cars we > were promised, and apparent

Re: simple task to speed up booting

2014-12-14 Thread Poul-Henning Kamp
In message <1418568731.935.8.ca...@freebsd.org>, Ian Lepore writes: >It's the 21st century, but we never got the George Jetson flying cars we >were promised, and apparently we're never going to break loose from the >standards set by accoustic-coupled modems. 9600 is not from accoustic-co

Re: simple task to speed up booting

2014-12-14 Thread Slawa Olhovchenkov
On Sun, Dec 14, 2014 at 07:52:11AM -0700, Ian Lepore wrote: > On Sun, 2014-12-14 at 10:32 +, Poul-Henning Kamp wrote: > > The rotating swirlie ('-/|\') in the loader accounts for a surprisingly > > large part of our boot time on systems with slow-ish serial consoles. > > > > I think right now

Re: simple task to speed up booting

2014-12-14 Thread Alfred Perlstein
On Dec 14, 2014, at 6:52 AM, Ian Lepore wrote: > On Sun, 2014-12-14 at 10:32 +, Poul-Henning Kamp wrote: >> The rotating swirlie ('-/|\') in the loader accounts for a surprisingly >> large part of our boot time on systems with slow-ish serial consoles. >> >> I think right now it takes a step

Re: simple task to speed up booting

2014-12-14 Thread Mike Karels
> > On Sun, 2014-12-14 at 10:32 +, Poul-Henning Kamp wrote: > > The rotating swirlie ('-/|\') in the loader accounts for a surprisingly > > large part of our boot time on systems with slow-ish serial consoles. > > > > I think right now it takes a step for each 512 byte read, reducing that > >

Re: simple task to speed up booting

2014-12-14 Thread Ian Lepore
On Sun, 2014-12-14 at 10:32 +, Poul-Henning Kamp wrote: > The rotating swirlie ('-/|\') in the loader accounts for a surprisingly > large part of our boot time on systems with slow-ish serial consoles. > > I think right now it takes a step for each 512 byte read, reducing that > to once every

Re: simple task to speed up booting

2014-12-14 Thread Mehmet Erol Sanliturk
On Sun, Dec 14, 2014 at 2:32 AM, Poul-Henning Kamp wrote: > > The rotating swirlie ('-/|\') in the loader accounts for a surprisingly > large part of our boot time on systems with slow-ish serial consoles. > > I think right now it takes a step for each 512 byte read, reducing that > to once every

simple task to speed up booting

2014-12-14 Thread Poul-Henning Kamp
The rotating swirlie ('-/|\') in the loader accounts for a surprisingly large part of our boot time on systems with slow-ish serial consoles. I think right now it takes a step for each 512 byte read, reducing that to once every 64kB or even 1MB would be an improvement with the kind of kernel sizes