increase copy buffer size from 4kb to 64kb
authorDennis Groenen <tj.groenen@gmail.com>
Wed, 24 Oct 2012 15:46:34 +0000 (17:46 +0200)
committerDennis Groenen <tj.groenen@gmail.com>
Wed, 24 Oct 2012 15:46:48 +0000 (17:46 +0200)
This commit reflects a config change in Debian's BusyBox 1:1.20.0-7 release.
The increase in copy buffer size increases the speed of various applets
greatly. Our targeted Maemo platforms have plenty of resources to accommodate
this larger buffer.

From Debian's changelog:
  "This increases speed of various applets dramatically.  For example, wget
   applet downlad time for certain file decreased from 3.8sec to 0.6sec."

debian/config/config.busybox

index 996d87f..13fa1df 100644 (file)
@@ -112,7 +112,7 @@ CONFIG_FEATURE_EDITING_FANCY_PROMPT=y
 # CONFIG_FEATURE_EDITING_ASK_TERMINAL is not set
 CONFIG_FEATURE_NON_POSIX_CP=y
 CONFIG_FEATURE_VERBOSE_CP_MESSAGE=y
-CONFIG_FEATURE_COPYBUF_KB=4
+CONFIG_FEATURE_COPYBUF_KB=64
 # CONFIG_FEATURE_SKIP_ROOTFS is not set
 CONFIG_MONOTONIC_SYSCALL=y
 CONFIG_IOCTL_HEX2STR_ERROR=y