Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 2021 11:29:36 -0700
From:      Alan Somers <asomers@freebsd.org>
To:        Matthias Apitz <guru@unixarea.de>, Rick Macklem <rmacklem@uoguelph.ca>,  Alan Somers <asomers@freebsd.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>,  Konstantin Belousov <kib@freebsd.org>, Kirk McKusick <mckusick@mckusick.com>
Subject:   Re: cp(1) of large files is causing 100% CPU utilization and poor transfer
Message-ID:  <CAOtMX2hVZHFLOJ5fOJJqT18uc_g3wcFnM1h3vp_e_O-_h8PzBQ@mail.gmail.com>
In-Reply-To: <X/C7RQmjHISfRMA/@c720-r368166.fritz.box>
References:  <X/CKQFbpbWDdLXvw@c720-r368166.fritz.box> <CAOtMX2gd6vaBF=6Z6stefGRN8A7S4Gtf4drO-YgAbd=KXPwKNg@mail.gmail.com> <X/CY/kuKUJHUVEbB@c720-r368166.fritz.box> <CAOtMX2hFupzf-MD84eo_-n9OzfYX6b6tWRsHPECZGKaq5QCUVw@mail.gmail.com> <X/CbUu4tVQG81ItJ@c720-r368166.fritz.box> <CAOtMX2iRS6XVLkABSMQdcDCUHRXhEHEjyzuOqkMHudK=he33GA@mail.gmail.com> <YQXPR0101MB0968022D574AA673BB80DEC6DDD40@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM> <X/C7RQmjHISfRMA/@c720-r368166.fritz.box>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 2, 2021 at 11:28 AM Matthias Apitz <guru@unixarea.de> wrote:

> El d=C3=ADa s=C3=A1bado, enero 02, 2021 a las 05:06:05p. m. +0000, Rick M=
acklem
> escribi=C3=B3:
>
> > Just fyi, I've reproduced the problem.
> > All I did was create a 20Gbyte file
> > on UFS on a slow (4Gbyte or RAM,
> > slow spinning disk) laptop.
> > (The UFS file system is just what the installer creates these days.)
> >
> > cp still hasn't finished and is definitely
> > taking a looott longer than dd did.
> >
> > I'll start drilling down later to-day.
> >
> > I'll admit doing lots of testing of copy_file_range(2)
> > with large sparse files, but I may have missed testing
> > a large non-sparse file.
> >
> > rick
> > ps: I've added Kostik and Kirk to the cc.
>
> As the problem seems to be clear now, should I still file a PR?
> I'm happy to do so.
>
>         matthias
>

Yes please .  That will help ensure that we don't lose track of it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2hVZHFLOJ5fOJJqT18uc_g3wcFnM1h3vp_e_O-_h8PzBQ>