Zero Copy
"Trustin Lee (이희승)"
trustin at gmail.com
Wed Apr 28 03:10:00 EDT 2010
I don't think reducing the number of memory copy operations will boost
the throughput that much. Maybe you need to figure out what exactly is
causing the slowdown before optimizing memory bandwidth?
Trustin
Ankushb wrote:
> Hi All,
>
> I am newbie to Netty, Can someone please explain to me how Netty follows the
> zero copy rule. Suppose I want to store all the bytes that are coming from
> server and I am doing this in "decode" method of FrameDecoder and copying
> all the bytes from ChannelBuffer to my inMemory Queue. How many memcopy will
> be happen in this procedure? Is there any alternative way to reduce this and
> optimize the client performance, I am getting speed of 6-7 MBps and I want
> to increase it to 20MBps.
>
> PS: Also Its a multicast client using DatagramChannel.
--
what we call human nature in actuality is human habit
http://gleamynode.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20100428/2bac20a7/attachment-0001.bin
More information about the netty-users
mailing list