Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2006 11:44:01 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Kqueue write event position?
Message-ID:  <ek3u1h$5ai$1@sea.gmane.org>
In-Reply-To: <ad79ad6b0611230222x21e68c8bxe86da349ffd7f7ec@mail.gmail.com>
References:  <ek2ca4$sft$1@sea.gmane.org>	<ad79ad6b0611221309q85e37e5p224ba93d0b9c9b5@mail.gmail.com>	<ek3p31$i69$1@sea.gmane.org> <ad79ad6b0611230222x21e68c8bxe86da349ffd7f7ec@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ek3u1h$5ai$1>