From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 23 10:54:26 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F01516A403 for ; Thu, 23 Nov 2006 10:54:26 +0000 (UTC) (envelope-from dudu@dudu.ro) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B506A43D7B for ; Thu, 23 Nov 2006 10:53:51 +0000 (GMT) (envelope-from dudu@dudu.ro) Received: by nz-out-0102.google.com with SMTP id i11so281243nzh for ; Thu, 23 Nov 2006 02:54:25 -0800 (PST) Received: by 10.65.224.11 with SMTP id b11mr14310997qbr.1164279265112; Thu, 23 Nov 2006 02:54:25 -0800 (PST) Received: by 10.65.110.19 with HTTP; Thu, 23 Nov 2006 02:54:24 -0800 (PST) Message-ID: Date: Thu, 23 Nov 2006 12:54:24 +0200 From: "Vlad Galu" To: freebsd-hackers@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Subject: Re: Kqueue write event position? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Nov 2006 10:54:26 -0000 On 11/23/06, Ivan Voras wrote: > Vlad Galu wrote: > > > My guess is that it won't be remarcably high. However, you can > > create those files, add them to your notification list and randomly > > write bytes to them, to see how your system performs. One more > > suggestion, I think it would be better if, in case you extend the > > vnode API, you only send the size of the write in the data field of > > the kevent structure and you store the offset in your program and > > adding the size to it everytime an event occurs. > > The writes will not be sequential so I need both offset and length. > Eh I guess you can use udata for one of them, then. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it.