Did you check how busy your disk IO is via iostat -x 1 ? 

> On 31. Oct 2019, at 11:41, [email protected] wrote:
> 
> I am using the blow code, and see the file transfer on one machine is 51KBPS, 
> however on other machine its 3.5MBPS with similar h/w and n/w configurations.
> Can someone give me some pointers what could be causing the slowness in one 
> of the machines.
> 
>  public void chunk(io.netty.buffer.ByteBuf request) {
>  if (output == null) {
>         output = new FileOutputStream(file);
>       }
>      
>       request.readBytes(output, request.readableBytes());
> }
> 
> Regards
> Miraj
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Netty discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/netty/73b27e6a-7f27-4775-80f4-e55eda90857f%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/netty/73b27e6a-7f27-4775-80f4-e55eda90857f%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- 
You received this message because you are subscribed to the Google Groups 
"Netty discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/netty/B5475501-9E8E-470D-B1E5-82FB421A2462%40googlemail.com.

Reply via email to