On 12/02/2010 07:05 PM, Daniel Kahn Gillmor wrote:Even better, run it without the -q, to see the time it spends
> here's me timing the fetch of the front page of the nytimes:
>
> 0 dkg@pip:~$ time wget -q -O/dev/null http://nytimes.com/
>
> real 0m0.848s
> user 0m0.000s
> sys 0m0.012s
> 0 dkg@pip:~$
>
> what do you get from running the same command?
downloading vs. the time it spends resolving (to follow up on the
earlier suggestion of broken or timing-out DNS resolvers:
0 dkg@pip:~$ time wget -O/dev/null http://nytimes.com/
--2010-12-02 19:10:55-- http://nytimes.com/
Resolving nytimes.com... 199.239.136.200
Connecting to nytimes.com|199.239.136.200|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.nytimes.com/ [following]
--2010-12-02 19:10:56-- http://www.nytimes.com/
Resolving www.nytimes.com... 199.239.136.200
Reusing existing connection to nytimes.com:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “/dev/null”
[ <=> ] 129,513 163K/s in 0.8s
2010-12-02 19:10:57 (163 KB/s) - “/dev/null” saved [129513]
real 0m1.413s
user 0m0.004s
sys 0m0.004s
0 dkg@pip:~$
what do you see?
--dkg
_______________________________________________
DebianNYC mailing list
DebianNYC@vireo.org
http://lists.vireo.org/cgi-bin/mailman/listinfo/debiannyc
_______________________________________________ DebianNYC mailing list DebianNYC@vireo.org http://lists.vireo.org/cgi-bin/mailman/listinfo/debiannyc