Bug 22442

Summary: [PATCH] Increase speed of split(1)
Product: Base System Reporter: George Reid <greid>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description George Reid 2000-10-31 14:30:01 UTC
The speed of split(1) can be increased by using dynamically-allocated
buffers.

The following results are from a large file created with
dd if=/dev/zero of=bigfile bs=1024k count=300

$ /usr/bin/time split -b 1024k bigfile
       90.19 real         0.02 user        22.42 sys

$ /usr/bin/time ./mysplit -b 1024k bigfile
       81.81 real         0.04 user        25.60 sys

This could represent problems on systems with low memory (perhaps further
modification is needed), but given that the average amount of memory being
distributed with PCs nowadays, this might be useful.
Comment 1 dd freebsd_committer freebsd_triage 2001-07-22 16:50:16 UTC
Responsible Changed
From-To: freebsd-bugs->greid

Over to originator.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2006-04-05 05:31:26 UTC
State Changed
From-To: open->suspended

Did this patch ever get committed?
Comment 3 Mark Linimon freebsd_committer freebsd_triage 2006-04-06 05:50:44 UTC
Responsible Changed
From-To: greid->linimon

Take over from inactive committer to track feedback.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2007-05-06 01:41:13 UTC
Responsible Changed
From-To: linimon->freebsd-bugs

Turn this back over to the pool.
Comment 5 David Schultz freebsd_committer freebsd_triage 2008-01-13 03:32:21 UTC
State Changed
From-To: suspended->closed

Mail to submitter bounces.