[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism
From: |
Tim Rühsen |
Subject: |
Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism |
Date: |
Thu, 30 Apr 2015 20:55:21 +0200 |
User-agent: |
KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; ) |
Am Donnerstag, 30. April 2015, 18:45:05 schrieb Daniel Stenberg:
> On Thu, 30 Apr 2015, Tim Ruehsen wrote:
> > Originally, Gisle talked about CPU cycles, not elapsed time.
> > That is quite a difference...
>
> Thousands of cycles per invoke * many invokes = measurable elapsed time
Again: That is quite a difference...
1Ghz CPU: 1cycle~1ns, means 1000*1ns = 1us (microsecond).
But if one packet comes 10ms later (pretty normal on the network) that would
be equal to ~10 million cycles (equal to about 10.000 calls to
run_with_timeout, if Gisle's assumptions are right).
How could you distinguish these two, latency and wasted cycles ?
On Linux even the 'time' command is helpful here (if your downloadable is
large enough to generate a CPU cycle footprint > few ms).
Much better is 'valgrind --tool=callgrind' plus a tool like kcachegrind.
But Gisle is on Windows... I don't know what tools are available there.
Regards, Tim
signature.asc
Description: This is a digitally signed message part.
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, (continued)
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, Darshit Shah, 2015/04/30
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, Tim Ruehsen, 2015/04/30
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, Gisle Vanem, 2015/04/30
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, Tim Ruehsen, 2015/04/30
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, Gisle Vanem, 2015/04/30
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, Daniel Stenberg, 2015/04/30
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, Tim Ruehsen, 2015/04/30
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, Daniel Stenberg, 2015/04/30
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, Gisle Vanem, 2015/04/30
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism,
Tim Rühsen <=
- Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, Hubert Tarasiuk, 2015/04/30
Re: [Bug-wget] GSoC15: Speed up Wget's Download Mechanism, Tim Ruehsen, 2015/04/30