Re: 8.1-STABLE: zfs and sendfile: problem still exists

2010-10-29 Thread Artemiev Igor
On Thu, Oct 28, 2010 at 09:57:22AM +0400, Alexander Zagrebin wrote: > Hi! > > I've noticed that ZFS on 8.1-STABLE still has problems with sendfile. > When accessing a file at first time the transfer speed is too low, but > on following attempts the transfer speed is normal. ... > I've tried ftpd a

Re: 8.1-STABLE: zfs and sendfile: problem still exists

2010-10-29 Thread Artemiev Igor
On Fri, Oct 29, 2010 at 05:41:59PM +0300, Andriy Gapon wrote: > What svn revision of FreeBSD source tree did you test? r213936. Revision seems a little old. > Ah, I think I see what's going on. > Either sendfile should (have an option to) use VOP_GETPAGES to request data > or ZFS > mappedread s

Re: 8.1-STABLE: zfs and sendfile: problem still exists

2010-10-29 Thread Artemiev Igor
On Fri, Oct 29, 2010 at 07:06:03PM +0300, Andriy Gapon wrote: > Probably yes, but have to be careful there. > First, do vm_page_grab only for UIO_NOCOPY case. > Second, the first page is already "shared busy" after vm_page_io_start() call > in > kern_sendfile; so you might need VM_ALLOC_IGN_SBUSY

Re: 8.1-STABLE: zfs and sendfile: problem still exists

2010-10-30 Thread Artemiev Igor
On Sat, Oct 30, 2010 at 11:25:05AM +0300, Andriy Gapon wrote: > > Note: I have only compile tested the patch. > > Missed one NULL check. > > Index: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c > === > --- sys/cddl/contr

Re: 8.1-STABLE: zfs and sendfile: problem still exists

2010-10-30 Thread Artemiev Igor
On Sat, Oct 30, 2010 at 12:52:54PM +0300, Andriy Gapon wrote: > Heh, next try. Got a panic, "vm_page_unwire: invalid wire count: 0" ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send

Re: 8.1-STABLE: zfs and sendfile: problem still exists

2010-10-30 Thread Artemiev Igor
On Sat, Oct 30, 2010 at 01:33:00PM +0300, Andriy Gapon wrote: > on 30/10/2010 13:12 Artemiev Igor said the following: > > On Sat, Oct 30, 2010 at 12:52:54PM +0300, Andriy Gapon wrote: > > > >> Heh, next try. > > > > Got a panic, "vm_page_unwire: inva

Re: 8.1-STABLE: zfs and sendfile: problem still exists

2010-10-30 Thread Artemiev Igor
On Sat, Oct 30, 2010 at 05:43:54PM +0300, Andriy Gapon wrote: > I apologize for my haste, it should have been VM_ALLOC_WIRED. Ok, applied and tested under some load(~1200 active connections, outgoing ~80MB/s). Patch work as expected and i has noted no side effects. Just one question - should gro

rpi(4) - Comtrol Infinity/Express card driver, please review

2010-04-30 Thread Artemiev Igor
Hi This driver supports the RocketPort Infinity series of multiport serial cards, which are 3.3V PCI and PCI-X, PCI-E (RocketPort Express) compatible. Comtrol already have freebsd driver for those cards with abandoned support, it is only for freebsd5.x/6.x and old tty layout: ftp://ftp.comtrol.c