{"issue":{"milestone":null,"user":{"id":842942,"login":"tgp1994","url":"https://api.github.com/users/tgp1994","gravatar_id":"3a51939a75a9f964b88f50dfc362fdbb","avatar_url":"https://secure.gravatar.com/avatar/3a51939a75a9f964b88f50dfc362fdbb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-06-10T20:35:35Z","title":"Download speeds are locked in at ~65kB/s","labels":[],"state":"open","updated_at":"2011-12-20T15:29:49Z","id":1038623,"closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"html_url":"https://github.com/Arachnid/netboot.me-gpxe/issues/1","body":"After some discussion on google groups, it seems like a few users like me are experiencing an issue where any downloads occuring within the gPXE portion of netboot will hover around 65kB/s, while any downloads occurring within the distro of our choice will be able to utilize the full potential of our internet connection.\r\n\r\nI've tried several different mirrors, all using the http protocol, and all of them able to download significantly faster when not using gPXE. My NIC is an integrated Intel PRO/100 VE (LOM) ethernet controller (using the e100 kernel driver when openSUSE is running), on a system with 512MB of memory (511MB after allocation for graphics), and a Pentium 4 mobile processor @2.4GHz. This is all in a Gateway 400SD4 laptop if it helps.\r\n\r\nI hope something can be done to speed up these downloads.","number":1,"url":"https://api.github.com/repos/Arachnid/netboot.me-gpxe/issues/1","comments":7,"assignee":null},"comment":{"user":{"id":276504,"login":"Harvie","url":"https://api.github.com/users/Harvie","gravatar_id":"71e14307c60ba49f20bb0033e7a1e666","avatar_url":"https://secure.gravatar.com/avatar/71e14307c60ba49f20bb0033e7a1e666?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"created_at":"2011-12-20T15:29:49Z","updated_at":"2011-12-20T15:29:49Z","id":3220232,"body":"Can somebody pls try this?\r\n\r\n```\r\ndiff --git a/src/include/gpxe/tcp.h b/src/include/gpxe/tcp.h\r\nindex 7ae7eab..9dc39fc 100644\r\n--- a/src/include/gpxe/tcp.h\r\n+++ b/src/include/gpxe/tcp.h\r\n@@ -286,8 +286,8 @@ struct tcp_options {\r\n  * actually use 65536, we use a window size of (65536-4) to ensure\r\n  * that payloads remain dword-aligned.\r\n  */\r\n-//#define TCP_MAX_WINDOW_SIZE  ( 65536 - 4 )\r\n-#define TCP_MAX_WINDOW_SIZE    4096\r\n+#define TCP_MAX_WINDOW_SIZE    ( 65536 - 4 )\r\n+//#define TCP_MAX_WINDOW_SIZE  4096\r\n \r\n /**\r\n  * Path MTU\r\n```\r\n\r\ni can't build it even without modification because of some warning:\r\n\r\n```\r\n  [BUILD] bin/mtnic.o\r\n  [BUILD] bin/eepro.o\r\n  [BUILD] bin/prism2_plx.o\r\ndrivers/net/eepro.c: In function ‘eepro_transmit’:\r\ndrivers/net/eepro.c:414:23: error: variable ‘tx_available’ set but not used [-Werror=unused-but-set-variable]\r\ncc1: all warnings being treated as errors\r\n\r\nmake: *** [bin/eepro.o] Error 1\r\nmake: *** Waiting for unfinished jobs....\r\n```","url":"https://api.github.com/repos/Arachnid/netboot.me-gpxe/issues/comments/3220232"},"action":"created"}