Re: Disk bottleneck

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Bill Warner
Date:  
To: plug-discuss
Subject: Re: Disk bottleneck
This doesn't seem to work for me. I use cp -a, and dropped the v from
the tar to suppress output. here is the outputs of the two different
commands:

wwarner:/usr# cd
wwarner:~# cd /usr
wwarner:/usr# du -sh lib
673M    lib
wwarner:/usr# time cp -a lib /tmp


real    2m59.519s
user    0m0.129s
sys     0m4.279s
wwarner:/usr# rm -rf /tmp/lib
wwarner:/usr# time tar -cf - lib | tar -C /tmp -xf -


real    3m2.839s
user    0m0.362s
sys     0m5.703s


On Thu, 2004-09-16 at 09:58, Jonathan Hohle wrote:
> you might want to try this trick i found on the gentoo-wiki a few
> weeks ago ( http://gentoo-wiki.com/TIP_Fast_Copy ).
>
> instead of doing:
>     cp -v file destination
> you can do
>     tar -cf - file | tar -C destination -xvf -

>
> read the wiki for more information and how to do it over ssh.
>
> Jon
> <><
>
> On Thu, 16 Sep 2004 09:53:21 -0700, ShieldX <> wrote:
> > I'm using the stock 2.4 i386 kernel that comes with woody,
> >
> > I'm thinking it's a kernel problem as well, but don't want to commit
> > to a sarge net install 'upgrade' (over a 56k line, *ack*) without being sure
> > if it will help at all.
> >
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list -
> > To subscribe, unsubscribe, or to change you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >

--
Bill Warner <>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss