NIO vs OIO

Marc-André Laverdière marcandre.laverdiere at gmail.com
Wed Jul 28 06:24:12 EDT 2010


That wasn't my question actually.
My question was more: are there any tweaks in Netty's OIO
implementation to take advantage of this?

Marc-André LAVERDIÈRE
"Perseverance must finish its work so that you may be mature and
complete, not lacking anything." -James 1:4
mlaverd.theunixplace.com/blog

 /"\
 \ /    ASCII Ribbon Campaign
  X      against HTML e-mail
 / \



2010/7/28 "이희승 (Trustin Lee)" <trustin at gmail.com>:
> Even a simple discard client-server testing shows NIO outperforms OIO
> when the number of concurrent connection is greater than 10 in my brand
> new Core2Quad i7 laptop.  If the number of connections are small, it's a
> known fact that OIO has better throughput, but it never scales up under
> serious pressure.
>
> Of course, OIO works just fine if your business logic takes long enough
> because raw I/O performance doesn't matter much since it's not a bottleneck.
>
> Anyway, Netty has both OIO and NIO transport, so you can switch to OIO
> if you really need to do so. :)
>
> HTH,
> Trustin
>
> On 07/28/2010 05:18 PM, Marc-André Laverdière wrote:
>> I just had a look at this article:
>> http://www.thebuzzmedia.com/java-io-faster-than-nio-old-is-new-again/
>>
>> It turns out that OS improvements and multicore processors make it
>> faster to use OIO instead of NIO.
>>
>> How can Netty users take advantage of those benefits?
>>
>> Marc-André LAVERDIÈRE
>> "Perseverance must finish its work so that you may be mature and
>> complete, not lacking anything." -James 1:4
>> mlaverd.theunixplace.com/blog
>>
>>  /"\
>>  \ /    ASCII Ribbon Campaign
>>   X      against HTML e-mail
>>  / \
>>
>> _______________________________________________
>> netty-users mailing list
>> netty-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/netty-users
>
> --
> what we call human nature in actuality is human habit
> http://gleamynode.net/
>
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>



More information about the netty-users mailing list