Re: MySQL Performance 6.0rc1

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Thu, 27 Oct 2005 12:37:29 +0200
In message <43608FE3.9050406_at_freebsd.org>, David Xu writes:
>Poul-Henning Kamp wrote:
>> In message <43607DD5.3020708_at_freebsd.org>, David Xu writes:
>> 
>>>Check gettimeofday syscall, it follows every I/O syscall, I think
>>>our gettimeofday is tooooooo expensive, if we can directly get time from
>>>memory, the performance will be improved further.
>> 
>> Why would anybody take a timestamp at all I/O syscalls ? 
>> 
>> "I wonder why my car can only go 30 km/h with the trunk full of concrete" ?
>> 
>> In a data base application I could possibly understand a timestamp
>> after every write.
>> 
>> But after _all_ I/O syscalls ?  That's just plain stupid...
>
>Don't panic, I agree that is stupid code, but I can not change it, it
>is not written by me, sorry!

I'm not panicing, I'm merely pointing out that we should not optimize
performance after bogus code but rather try to improve it.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Thu Oct 27 2005 - 08:37:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:46 UTC