Re: Speeding up the loader(8).

2012-02-20 Thread Olivier Smedts
2012/2/6 Olivier Smedts : > 2012/1/23 Edward Tomasz Napierała : >> Some time ago I've spent some time on trying to speed up loading >> modules by the loader(8).  Result can be found at: >> >> http://people.freebsd.org/~trasz/fast-loader-3.diff > > I use it successfully on my FreeBSD 9.0-STABLE amd6

Re: Speeding up the loader(8).

2012-02-06 Thread Olivier Smedts
2012/1/23 Edward Tomasz Napierała : > Some time ago I've spent some time on trying to speed up loading > modules by the loader(8).  Result can be found at: > > http://people.freebsd.org/~trasz/fast-loader-3.diff I use it successfully on my FreeBSD 9.0-STABLE amd64 with ZFS on root. It sped up the

Re: Speeding up the loader(8).

2012-01-26 Thread Freddie Cash
On Thu, Jan 26, 2012 at 10:22 AM, Artem Belevich wrote: > On Thu, Jan 26, 2012 at 6:54 AM, John Baldwin wrote: >>> > 3. The code in bcache.c doesn't really implement an LRU - it implements >>> >   'least recently added' algorithm, i.e. a kind of queue.  Not that >>> >   it matters much, since it

Re: Speeding up the loader(8).

2012-01-26 Thread Artem Belevich
On Thu, Jan 26, 2012 at 6:54 AM, John Baldwin wrote: >> > 3. The code in bcache.c doesn't really implement an LRU - it implements >> >   'least recently added' algorithm, i.e. a kind of queue.  Not that >> >   it matters much, since it flushes the elements two seconds after >> >   caching them any

Re: Speeding up the loader(8).

2012-01-26 Thread John Baldwin
On Tuesday, January 24, 2012 1:22:57 pm Artem Belevich wrote: > 2012/1/23 Edward Tomasz Napierała : > > Some time ago I've spent some time on trying to speed up loading > > modules by the loader(8). Result can be found at: > > > > http://people.freebsd.org/~trasz/fast-loader-3.diff > > > > This pa

Re: Speeding up the loader(8).

2012-01-24 Thread Artem Belevich
2012/1/23 Edward Tomasz Napierała : > Some time ago I've spent some time on trying to speed up loading > modules by the loader(8).  Result can be found at: > > http://people.freebsd.org/~trasz/fast-loader-3.diff > > This patch solves three issues: > > 1. As it is now, the code in biosdisk.c tries v

Speeding up the loader(8).

2012-01-23 Thread Edward Tomasz Napierała
Some time ago I've spent some time on trying to speed up loading modules by the loader(8). Result can be found at: http://people.freebsd.org/~trasz/fast-loader-3.diff This patch solves three issues: 1. As it is now, the code in biosdisk.c tries very hard to split reasonably sized (up to 64k