List:General Discussion« Previous MessageNext Message »
From:Sinisa Milivojevic Date:October 10 2001 10:55am
Subject:Re: Preventing Nagle with mysql (was: Bizarre query performance)
View as plain text  
Dan Nelson writes:
> 
> It looks like mysqld has code to disable Nagle, but I don't know when
> it is triggered.  You can try manually setting TCP_NODELAY on the
> filedescriptor at myhandle->net.fd (where myhandle is the structure you
> get from mysql_real_connect), and see if that helps.
> 
> -- 
> 	Dan Nelson
> 	dnelson@stripped
> 

Hi Dan!

Thank for your contrib.

But it is too late to do it then, as init of TCP stuff has already
been done.

Better way to ensure that Nagle's effect does not occur is that
vio.fastsend() method is executed properly on the server OS.

This is what we are looking at right now.

-- 
Regards,
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Mr. Sinisa Milivojevic <sinisa@stripped>
 / /|_/ / // /\ \/ /_/ / /__   MySQL AB, FullTime Developer
/_/  /_/\_, /___/\___\_\___/   Larnaca, Cyprus
       <___/   www.mysql.com

Thread
Bizarre query performancePhilip Brown5 Oct
  • Re: Bizarre query performanceRussell Miller5 Oct
    • RE: Bizarre query performancePhilip Brown5 Oct
      • Re: Bizarre query performanceRussell Miller5 Oct
        • RE: Bizarre query performancePhilip Brown5 Oct
          • Re: Bizarre query performanceRussell Miller6 Oct
            • RE: Bizarre query performancePhilip Brown6 Oct
  • Re: Bizarre query performanceBoyd Lynn Gerber5 Oct
    • RE: Bizarre query performancePhilip Brown5 Oct
      • RE: Bizarre query performanceBoyd Lynn Gerber5 Oct
  • Re: Bizarre query performanceDan Nelson5 Oct
    • RE: Bizarre query performancePhilip Brown5 Oct
      • Re: Bizarre query performanceDan Nelson5 Oct
        • Re: Bizarre query performanceBoyd Lynn Gerber6 Oct
          • RE: Bizarre query performancePhilip Brown6 Oct
            • Re: Bizarre query performanceDan Nelson7 Oct
              • Preventing Nagle with mysql (was: Bizarre query performance)Philip Brown8 Oct
                • Re: Preventing Nagle with mysql (was: Bizarre query performance)Dan Nelson10 Oct
                  • Re: Preventing Nagle with mysql (was: Bizarre query performance)Sinisa Milivojevic10 Oct