小弟先以KBT 線路測試, KBT to GIGA 有12000Mbps 頻寬
語法:
C:\TMP\wget>wget -S --no-cache --delete-after http://www.buddhist.idv.tw/A15/A15
0005.rar
--2008-05-20 19:57:43-- http://www.buddhist.idv.tw/A15/A150005.rar
Resolving www.buddhist.idv.tw... 203.187.29.180
Connecting to www.buddhist.idv.tw|203.187.29.180|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.0 200 OK
Content-Length: 97993170
Content-Type: application/octet-stream
Last-Modified: Tue, 01 Jan 2008 05:00:05 GMT
Accept-Ranges: bytes
ETag: "a0d5db2c334cc81:530"
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Date: Tue, 20 May 2008 11:57:41 GMT
X-Cache: MISS from WebAmpRP1@GIGAMEDIA
Connection: keep-alive
Length: 97993170 (93M) [application/octet-stream]
Saving to: `A150005.rar'
4% [> ] 4,570,277 36.3K/s eta 49m 6s ^
C
C:\TMP\wget>
因為起始速度太慢, 所以故意中斷, 接著花了數分鐘研究Wget 指令
語法:
C:\TMP\wget>wget -S -c --no-cache --delete-after http://www.buddhist.idv.tw/A15/
A150005.rar
--2008-05-20 20:10:47-- http://www.buddhist.idv.tw/A15/A150005.rar
Resolving www.buddhist.idv.tw... 203.187.29.180
Connecting to www.buddhist.idv.tw|203.187.29.180|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.0 206 Partial Content
Content-Type: application/octet-stream
Last-Modified: Tue, 01 Jan 2008 05:00:05 GMT
Accept-Ranges: bytes
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Date: Tue, 20 May 2008 11:57:41 GMT
Content-Range: bytes 4575251-97993169/97993170
Content-Length: 93417919
Age: 785
X-Cache: HIT from WebAmpRP1@GIGAMEDIA
Connection: keep-alive
Length: 97993170 (93M), 93417919 (89M) remaining [application/octet-stream]
Saving to: `A150005.rar'
40% [+=============> ] 39,848,371 347K/s in 3m 3s
2008-05-20 20:13:51 (188 KB/s) - Connection closed at byte 39848371. Retrying.
--2008-05-20 20:13:51-- (try: 2) http://www.buddhist.idv.tw/A15/A150005.rar
Connecting to www.buddhist.idv.tw|203.187.29.180|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.0 206 Partial Content
Content-Type: application/octet-stream
Last-Modified: Tue, 01 Jan 2008 05:00:05 GMT
Accept-Ranges: bytes
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Date: Tue, 20 May 2008 11:57:41 GMT
Content-Range: bytes 39848371-97993169/97993170
Content-Length: 58144799
Age: 969
X-Cache: HIT from WebAmpRP1@GIGAMEDIA
Connection: keep-alive
Length: 97993170 (93M), 58144799 (55M) remaining [application/octet-stream]
Saving to: `A150005.rar'
49% [+++++++++++++++===> ] 48,093,093 33.4K/s eta 12m 43s ^
C
C:\TMP\wget>
不知道是否Web-AMP 在小弟中斷期間, 自行快取住檔案, 繼續 (-c) 下載相同檔案, 剛開始速度可達140K/s, 在 "40%" 時, Wget 突然出現錯誤又自行繼續, 然後速度又慢慢掉到33K/s, 於是小弟再度中斷, 等候數分鐘再繼續
語法:
C:\TMP\wget>wget -S -c --no-cache --delete-after http://www.buddhist.idv.tw/A15/
A150005.rar
--2008-05-20 20:27:45-- http://www.buddhist.idv.tw/A15/A150005.rar
Resolving www.buddhist.idv.tw... 203.187.29.180
Connecting to www.buddhist.idv.tw|203.187.29.180|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.0 206 Partial Content
Content-Type: application/octet-stream
Last-Modified: Tue, 01 Jan 2008 05:00:05 GMT
Accept-Ranges: bytes
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Date: Tue, 20 May 2008 11:57:41 GMT
Content-Range: bytes 48107136-97993169/97993170
Content-Length: 49886034
Age: 1803
X-Cache: HIT from WebAmpRP1@GIGAMEDIA
Connection: keep-alive
Length: 97993170 (93M), 49886034 (48M) remaining [application/octet-stream]
Saving to: `A150005.rar'
100%[+++++++++++++++++++===================>] 97,993,170 4.37M/s in 5m 12s
2008-05-20 20:32:58 (156 KB/s) - `A150005.rar' saved [97993170/97993170]
Removing A150005.rar.
C:\TMP\wget>
剛開始還可以維持135K/s, 到了 "70%" 左右又逐漸掉到了60K/s, 直到下載完畢
語法:
C:\TMP\wget>wget -S --no-cache --delete-after http://www.buddhist.idv.tw/A15/A15
0005.rar
--2008-05-20 20:36:43-- http://www.buddhist.idv.tw/A15/A150005.rar
Resolving www.buddhist.idv.tw... 203.187.29.180
Connecting to www.buddhist.idv.tw|203.187.29.180|:80... connected.
HTTP request sent, awaiting response...
HTTP/1.0 200 OK
Content-Length: 97993170
Content-Type: application/octet-stream
Last-Modified: Tue, 01 Jan 2008 05:00:05 GMT
Accept-Ranges: bytes
ETag: "a0d5db2c334cc81:530"
Server: Microsoft-IIS/6.0
MicrosoftOfficeWebServer: 5.0_Pub
X-Powered-By: ASP.NET
Date: Tue, 20 May 2008 11:57:41 GMT
X-Cache: HIT from WebAmpRP1@GIGAMEDIA
Connection: keep-alive
Length: 97993170 (93M) [application/octet-stream]
Saving to: `A150005.rar'
3% [> ] 3,359,562 136K/s eta 14m 26s ^
C
C:\TMP\wget>
同樣檔案再試一次, 起始速度就可以維持135K/s, 代表檔案被快取住, 是否完整快取則不確定, 也未測試, 如果完整快取, 速度應該可以維持130K/s 以上, 看來 "--no-cache" 並無作用, 這樣應該比較合理, 但是卻不利於小弟測試, 必須另外找沒被快取住的檔案測試