Re: Bug 252358 - cp(1) of large files is causing 100% CPU utilization and poor transfer of ~168M/minute

2021-01-03 Thread Rick Macklem
internally.) then maybe. Otherwise, not. rick From: owner-freebsd-curr...@freebsd.org on behalf of Graham Perrin Sent: Sunday, January 3, 2021 4:21 AM To: freebsd-current@freebsd.org Subject: Bug 252358 - cp(1) of large files is causing 100% CPU utilization

Bug 252358 - cp(1) of large files is causing 100% CPU utilization and poor transfer of ~168M/minute

2021-01-03 Thread Graham Perrin
On 02/01/2021 20:05, Matthias Apitz wrote: Here we go:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252358 Thank you. I plan to build and install 82397d791966b09d344251bc709cd9db2b3a1902; In th

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Alan Somers
on behalf of Matthias Apitz > Sent: Saturday, January 2, 2021 3:05 PM > To: Alan Somers > Cc: Rick Macklem; FreeBSD CURRENT; Konstantin Belousov; Kirk McKusick > Subject: Re: cp(1) of large files is causing 100% CPU utilization and poor > transfer > > CAUTION: This email ori

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Rick Macklem
Rick Macklem; FreeBSD CURRENT; Konstantin Belousov; Kirk McKusick Subject: Re: cp(1) of large files is causing 100% CPU utilization and poor transfer CAUTION: This email originated from outside of the University of Guelph. Do not click links or open attachments unless you recognize the sender and

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Matthias Apitz
El día sábado, enero 02, 2021 a las 11:29:36a. m. -0700, Alan Somers escribió: > > El día sábado, enero 02, 2021 a las 05:06:05p. m. +, Rick Macklem > > escribió: > > > > > Just fyi, I've reproduced the problem. > > > All I did was create a 20Gbyte file > > > on UFS on a slow (4Gbyte or RAM, >

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Alan Somers
On Sat, Jan 2, 2021 at 11:28 AM Matthias Apitz wrote: > El día sábado, enero 02, 2021 a las 05:06:05p. m. +, Rick Macklem > escribió: > > > 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. > > (

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Matthias Apitz
El día sábado, enero 02, 2021 a las 05:06:05p. m. +, Rick Macklem escribió: > 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.) >

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Alan Somers
es, but I may have missed testing > a large non-sparse file. > > rick > ps: I've added Kostik and Kirk to the cc. > > > > From: owner-freebsd-curr...@freebsd.org > on behalf of Alan Somers > Sent: Saturday, January 2

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Rick Macklem
d-curr...@freebsd.org on behalf of Alan Somers Sent: Saturday, January 2, 2021 11:30 AM To: Matthias Apitz; FreeBSD CURRENT Subject: Re: cp(1) of large files is causing 100% CPU utilization and poor transfer CAUTION: This email originated from outside of the University of Guelph. Do not click

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Alan Somers
On Sat, Jan 2, 2021 at 9:12 AM Matthias Apitz wrote: > El día sábado, enero 02, 2021 a las 09:06:24a. m. -0700, Alan Somers > escribió: > > > > As I said, it can be reproduced using only the local file system. This > > > was setup recently on a SSD: > > > > > > # dmesg | grep ada0 > > > ada0 at a

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Matthias Apitz
El día sábado, enero 02, 2021 a las 09:06:24a. m. -0700, Alan Somers escribió: > > As I said, it can be reproduced using only the local file system. This > > was setup recently on a SSD: > > > > # dmesg | grep ada0 > > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > > ada0: ACS-2 ATA SATA 3.x devic

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Alan Somers
On Sat, Jan 2, 2021 at 9:02 AM Matthias Apitz wrote: > El día sábado, enero 02, 2021 a las 08:42:01a. m. -0700, Alan Somers > escribió: > > > > # dd if=guru-20210102.tar.gz > of=/mnt/AcerC720/backups/guru-20210102.tar.gz > > > bs=8m > > > 4601+1 records in > > > 4601+1 records out > > > 386038623

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Matthias Apitz
El día sábado, enero 02, 2021 a las 08:42:01a. m. -0700, Alan Somers escribió: > > # dd if=guru-20210102.tar.gz of=/mnt/AcerC720/backups/guru-20210102.tar.gz > > bs=8m > > 4601+1 records in > > 4601+1 records out > > 38603862368 bytes transferred in 506.778929 secs (76174956 bytes/sec) > > # ls -l

Re: cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Alan Somers
On Sat, Jan 2, 2021 at 7:59 AM Matthias Apitz wrote: > > This is with: > > # uname -a > FreeBSD c720-r368166 13.0-CURRENT FreeBSD 13.0-CURRENT #23 r368166M: Thu > Dec 17 13:12:37 CET 2020 > guru@c720-r368166:/usr/obj/usr/src/amd64.amd64/sys/GENERIC > amd64 > > I copy often large backup files

cp(1) of large files is causing 100% CPU utilization and poor transfer

2021-01-02 Thread Matthias Apitz
This is with: # uname -a FreeBSD c720-r368166 13.0-CURRENT FreeBSD 13.0-CURRENT #23 r368166M: Thu Dec 17 13:12:37 CET 2020 guru@c720-r368166:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 I copy often large backup files to an external USB disk and hit the following problem since updating