Ticket #1821 (closed defect: wontfix)

Opened 11 years ago

Last modified 2 years ago

tee (busybox) gives bad performace: write 1 char a time

Reported by: h.koenig Owned by: openmoko-devel
Priority: normal Milestone:
Component: unknown Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: no PatchReviewResult:


using tee(1) to create some log file and view the output gives horrible performace, because tee writes output one character a time (both to stdout and to file):

to test:

echo foo | strace tee bar


open("bar", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
read(0, "foo\n", 1024) = 4
write(1, "f", 1f) = 1
write(3, "f", 1) = 1
write(1, "o", 1o) = 1
write(3, "o", 1) = 1
write(1, "o", 1o) = 1
write(3, "o", 1) = 1
write(1, "\n", 1
) = 1
write(3, "\n", 1) = 1
read(0, "", 1024) = 0
io_submit(0, 0, 0xfbad2098 <unfinished ... exit status 0>
Process 2475 detached

Change History

comment:1 Changed 10 years ago by john_lee

  • Status changed from new to closed
  • HasPatchForReview unset
  • Resolution set to wontfix

I don't think we will fix busybox, could you please bring this to upstream if that's still the case?

comment:2 Changed 2 years ago by RoberMync

Order Legally Stendra Overseas Mastercard <a href=http://kama1.xyz/kamagra-jelly-online.php>Kamagra Jelly Online</a> Viagra Kaufen Fulda Otc Amoxicillin Equivalent <a href=http://cial5mg.xyz/cialis-generic.php>Cialis Generic</a> Viagra Nombre Generico Amoxicillin Resistance Children Tonsillar <a href=http://zol1.xyz/shop-zoloft-online.php>Shop Zoloft Online</a> On Sale Progesterone Venta De Cialis Genericos <a href=http://viag1.xyz/viagra-online-usa.php>Viagra Online Usa</a> Kamagra Oral Jelly Erfahrung Cheap Viagra Online <a href=http://priligy.ccrpdc.com/priligy-usa.php>Priligy Usa</a> Amoxicillin Side Effects Propecia Afectivo <a href=http://kama1.xyz/prices-kamagra.php>Prices Kamagra</a> Cialis Overdose Biaxin With No Prescription <a href=http://kama1.xyz/kamagra-online-pharmacy.php>Kamagra Online Pharmacy</a> Generico Cialis

Note: See TracTickets for help on using tickets.