Re: svn commit: r241053 - in head/sys/boot: common i386/libi386 uboot/lib userboot/userboot

2012-10-01 Thread John Baldwin
On Saturday, September 29, 2012 12:47:57 pm Andrey V. Elsukov wrote: Author: ae Date: Sat Sep 29 16:47:56 2012 New Revision: 241053 URL: http://svn.freebsd.org/changeset/base/241053 Log: Almost each time when loader opens a file, this leads to calling disk_open(). Very often this is

Re: svn commit: r241053 - in head/sys/boot: common i386/libi386 uboot/lib userboot/userboot

2012-10-01 Thread Andrey V. Elsukov
On 01.10.2012 15:53, John Baldwin wrote: Introduce new cache layer to resolve this problem. It is independent and doesn't need initialization like bcache, and will work by default for all loaders which use the new DISK API. A successful disk_open() call to each new disk or partition

Re: svn commit: r241053 - in head/sys/boot: common i386/libi386 uboot/lib userboot/userboot

2012-10-01 Thread Andrey V. Elsukov
On 01.10.2012 19:22, Andrey V. Elsukov wrote: UFS+GPT ZFS+GPT ZFS+GPT+several disks new_loader7,203s 20,584s 26,079s old_loader4,334s 9,422s 11,245s Of course, new_loader and old_loader should switch places :) -- WBR,

Re: svn commit: r241053 - in head/sys/boot: common i386/libi386 uboot/lib userboot/userboot

2012-10-01 Thread John Baldwin
On Monday, October 01, 2012 11:22:39 am Andrey V. Elsukov wrote: On 01.10.2012 15:53, John Baldwin wrote: Introduce new cache layer to resolve this problem. It is independent and doesn't need initialization like bcache, and will work by default for all loaders which use the new DISK

svn commit: r241053 - in head/sys/boot: common i386/libi386 uboot/lib userboot/userboot

2012-09-29 Thread Andrey V. Elsukov
Author: ae Date: Sat Sep 29 16:47:56 2012 New Revision: 241053 URL: http://svn.freebsd.org/changeset/base/241053 Log: Almost each time when loader opens a file, this leads to calling disk_open(). Very often this is called several times for one file. This leads to reading partition table