Closed
Bug 281129
Opened 20 years ago
Closed 6 years ago
slow cvs update on tinderbox3 client
Categories
(Webtools Graveyard :: Tinderbox3, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: bird-mozilla, Assigned: john)
Details
Attachments
(1 file)
|
1.60 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040920 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040920 The tinderclient takes ages checking out or updating a tree which is to be built. The reason seems to be that cvs (1.11.18) is blocking (flush?) every one or two lines waiting for tinderclient.pl to read it's output. tinderclient.pl does sleep(3) everytime the pipe buffer is emptied, and cvs was only allowed one or two lines per 3 seconds. While this happens with cvs version 1.11.18, but not with 1.11.17, it is still a generic problem. Solution: Changing the sleep(3) to a IO::Select can_read(3) call, fixes the problem. The checkout went down from 11 minuttes to ~50 seconds. Reproducible: Always Software: Linux 2.6.10-gentoo-r6 CVS version 1.11.18 Perl v5.8.5 Hardware: Hyperthreaded Xeon
| Reporter | ||
Comment 1•20 years ago
|
||
Updated•18 years ago
|
QA Contact: kiko → tinderbox3
Updated•10 years ago
|
Product: Webtools → Webtools Graveyard
Comment 2•6 years ago
|
||
tinderbox isn't maintained anymore. Closing!
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•