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
Yea the logic was sound enough for it to peek my skepticism so I gave it
a couple of quick tests.

For some reason I didn't think firing up two copies of tar and piping
them together would be faster the one cp. but it was worth a test and
now I am more informed than before.

-Bill


On Thu, 2004-09-16 at 13:07, Jonathan Hohle wrote:
> sorry, hadn't tried it myself, the logic was sound, though.
>
> Jon
> <><
>
> On Thu, 16 Sep 2004 11:43:06 -0700, Bill Warner <> wrote:
> > On Thu, 2004-09-16 at 10:58, Jeremy C. Reed wrote:
> > > On Thu, 16 Sep 2004, Bill Warner wrote:
> > >
> > > > 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

> > >
> > > You say it didn't work for you. But you didn't show us that it didn't
> > > work. It appears like it did work.
> >
> > OK, to varying degrees of worked. If you mean by worked the files
> > copied, then yes it worked, I ment the cp was faster than the tar,
> > opposite of what the original claimed.
> >
> >
> >
> > --
> > 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
> >

--
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