wow, fast response.
the glibc has a group of functions for handling argz vectors.
Maybe this is a way to save some bytes ? (see: man 3 argz_create).
Note this is a GNU extension.
re,
wh
Am 27.11.2014 01:32, schrieb Marcel Rodrigues:
Thanks for the feedback.
The patch below unifies the code
2014-11-26 17:43 GMT+01:00 Denys Vlasenko vda.li...@googlemail.com:
On Wed, Nov 26, 2014 at 4:06 PM, Denys Vlasenko
vda.li...@googlemail.com wrote:
Looks like it will always allocate the copy buffer,
and always attempt the final read, even if sendfile worked perfectly.
Can this be avoided?
Thanks for catching it. So you were using 4k copy buffer.
This explains why copies were slow for you...
I pushed a tweaked patch to git, please let me know
if there are still problems.
___
busybox mailing list
busybox@busybox.net
2014-11-27 13:22 GMT+01:00 Denys Vlasenko vda.li...@googlemail.com:
Thanks for catching it. So you were using 4k copy buffer.
This explains why copies were slow for you...
Yeah, I just ran make defconfig. I forgot it's configurable - regular
coreutils copy tools use 4k buffers as well.
I
Hi,
The performance and number of processes for a depmod -a with gzipped
modules was abysmal. This patch adds a fast path without fork for well-
behaved gzip files, benefiting all users of
xmalloc_open_zipped_read_close.
modinfo radeon.ko.gz, a single-file reader, got 30% faster.
depmod -a,
--- a/archival/libarchive/open_transformer.c
+++ b/archival/libarchive/open_transformer.c
@@ -213,6 +213,22 @@ void* FAST_FUNC xmalloc_open_zipped_read_close(const char
*fname, size_t *maxsz_
int fd;
char *image;
+ /* Fast path for well-behaved gzip files, avoiding forks.
Thank you a lot for your help.
After stracing on different machines, I found the problem - lack of fonts
So the correct chain to make busybox support specific language with ncurses:
ash.c patch you provided
correct terminfo database (linux works fine for me)
correct font, for example
On Thu, Nov 27, 2014 at 1:32 PM, Bartosz Gołaszewski
bartekg...@gmail.com wrote:
I pushed a tweaked patch to git, please let me know
if there are still problems.
Are you sure you pushed it? It doesn't seem to be there.
Sorry, I didn't notice that git push ended with
! [rejected] master -