sockets - Linux TCP: packet segmentation? -


i working on virtualization environment (linux on hyperv). linux driver virtual nic supports tso , gso (tcp segmentation on , generic segmentation on).

now, create tcp socket , send buffer set 128k. based on ifconfig data (tx bytes , tx packets), average packet size 11 k.

so question is, packet segmented (from 128k 11k)? how control/configure in socket options or tcp options?

thanks!

===========edit==================

i have application can reach 8gbps throughput in 10g network 32 tcp connections - in case, average packet size 20 kbytes pretty good; when increased tcp connections 256, throughput 1gbps packet size on nic down 3 kbytes.

i know packet size critical performance cost of processing traffic per packet, not per bytes, packet on nic, better if bigger.

so, question is: how increase tcp packet size? there tcp settings control this?

your question seems little bit confusing, there number of settings need play 10gige work right on linux.

see here: http://dak1n1.com/blog/7-performance-tuning-intel-10gbe/


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -