If you find that outgoing traffic crawls along no matter how high you set the bandwidth, then you can apply this workaround. Install the ''ethtool'' package, then in /etc/shorewall/init, add this command: ethtool -K ethX tso off gso off where ethX is the affected interface. This workaround turns off TCP segmentation offloading and Generic segmentation offloading in the NIC. I''ll be working on a better approach that will allow this offloading to be re-enabled. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d
Thanks this fixes an issue I was having On Mar 13, 2011, at 12:29 PM, Tom Eastep <teastep@shorewall.net> wrote:> If you find that outgoing traffic crawls along no matter how high you > set the bandwidth, then you can apply this workaround. Install the > ''ethtool'' package, then in /etc/shorewall/init, add this command: > > ethtool -K ethX tso off gso off > > where ethX is the affected interface. > > This workaround turns off TCP segmentation offloading and Generic > segmentation offloading in the NIC. > > I''ll be working on a better approach that will allow this offloading to > be re-enabled. > > -Tom > -- > Tom Eastep \ When I die, I want to go like my Grandfather who > Shoreline, \ died peacefully in his sleep. Not screaming like > Washington, USA \ all of the passengers in his car > http://shorewall.net \________________________________________________ > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d
Tom Eastep
2011-Mar-13 17:52 UTC
Re: UPDATE: Simple TC on Recent Kernels (especially X86-64/AMD64)
On 3/13/11 10:29 AM, Tom Eastep wrote:> If you find that outgoing traffic crawls along no matter how high you > set the bandwidth, then you can apply this workaround. Install the > ''ethtool'' package, then in /etc/shorewall/init, add this command: > > ethtool -K ethX tso off gso off > > where ethX is the affected interface. > > This workaround turns off TCP segmentation offloading and Generic > segmentation offloading in the NIC. > > I''ll be working on a better approach that will allow this offloading to > be re-enabled.The better approach is to adjust the specified <minburst>. I suggest starting with 10kb which works well for me. Here''s what I have in my tcinterfaces file: #IFACE TYPE IN-BANDWIDTH OUT-BANDWIDTH eth0 External 50mbit:200kb 5.0mbit:100kb:200ms:100mbit:10kb ----- With this setting, I was able to re-enable TSO/GSO using: ethtool -K eth0 tso on gso on -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d
Tom Eastep
2011-Mar-14 23:52 UTC
Re: Simple TC on Recent Kernels (especially X86-64/AMD64)
On 3/13/11 10:40 AM, Red Baron wrote:> Thanks this fixes an issue I was havingWould you please request that your Debian bug report on this issue be closed? Thanks, -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d
I was not aware I had one open? On Mar 14, 2011, at 6:52 PM, Tom Eastep <teastep@shorewall.net> wrote:> On 3/13/11 10:40 AM, Red Baron wrote: >> Thanks this fixes an issue I was having > > Would you please request that your Debian bug report on this issue be > closed? > > Thanks, > -Tom > -- > Tom Eastep \ When I die, I want to go like my Grandfather who > Shoreline, \ died peacefully in his sleep. Not screaming like > Washington, USA \ all of the passengers in his car > http://shorewall.net \________________________________________________ > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > Shorewall-users mailing list > Shorewall-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shorewall-users------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d
Tom Eastep
2011-Mar-15 00:23 UTC
Re: Simple TC on Recent Kernels (especially X86-64/AMD64)
On 3/14/11 5:19 PM, Red Baron wrote:> I was not aware I had one open? >Ah -- sorry. I thought you were the person who opened a similar Debian bug. -Tom -- Tom Eastep \ When I die, I want to go like my Grandfather who Shoreline, \ died peacefully in his sleep. Not screaming like Washington, USA \ all of the passengers in his car http://shorewall.net \________________________________________________ ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d