[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Understanding 'perf report' result lua 5.2.3: __memcpy_sse2_unaligned ?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 9 Dec 2014 14:06:31 -0200
> On a 1Gbs-network, this single call to receive takes an average of 5.3
> seconds when the payload_size is big (128MB).
> Should I think that it takes sometime for LuaSocket binding to copy
> the received data back into the stack (somewhere here
> https://github.com/diegonehab/luasocket/blob/master/src/buffer.c#L136
> ) ?
I guess you are in a better position than me to answer that question.
(Have a look at [1] too.)
[1] https://github.com/diegonehab/luasocket/blob/master/src/buffer.c#L193
-- Roberto