[Bug 551] tail performance is very bad

bugzilla at busybox.net bugzilla at busybox.net
Mon Aug 10 06:46:48 UTC 2009


Denys Fedoryshchenko <denys at visp.net.lb> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Denys Fedoryshchenko <denys at visp.net.lb>  2009-08-10 06:46:47 UTC ---
Patch fixing problem completely.
It didn't apply to git nor stable version, so i had to adapt it, but seems
works fine after that.

Here is some numbers
Proxy-Karam-Main ~ # time tail -n 1 /var/log/squid/access.log

^CCommand terminated by signal 2
real    3m 18.09s
user    0m 36.04s
sys     0m 25.23s

New version

Proxy-Karam-Main ~ # time ./busybox tail -n 1 /var/log/squid/access.log
1249886795.283    941 TCP_MISS/200 375 POST
- DIRECT/ application/x-msn-messenger
real    0m 0.00s
user    0m 0.00s
sys     0m 0.00s

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list