Date: Sun, 3 Jan 2021 14:57:40 +0000 From: Rick Macklem <rmacklem@uoguelph.ca> To: Graham Perrin <grahamperrin@gmail.com>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: Bug 252358 - cp(1) of large files is causing 100% CPU utilization and poor transfer of ~168M/minute Message-ID: <YQXPR0101MB0968D2EE9A7EF28532132AC2DDD30@YQXPR0101MB0968.CANPRD01.PROD.OUTLOOK.COM> In-Reply-To: <b7428b20-f4d5-ced6-4548-7c20481d19d9@gmail.com> 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> <CAOtMX2hVZHFLOJ5fOJJqT18uc_g3wcFnM1h3vp_e_O-_h8PzBQ@mail.gmail.com> <X/DSHeynpeIxjs3w@c720-r368166.fritz.box>, <b7428b20-f4d5-ced6-4548-7c20481d19d9@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Well, it depends on what "stressdisk" (never heard of it) does. If it: 1 - Reads a large non-sparse file on a UFS file system. 2 - Uses lseek(SEEK_DATA/SEEK_HOLE) with a small blocksize or copy_file_range(2) with a small length. (copy_file_range(2) does SEEK_DATA/SEEK_HOLE internally.) then maybe. Otherwise, not. rick ________________________________________ From: owner-freebsd-current@freebsd.org <owner-freebsd-current@freebsd.org>= on behalf of Graham Perrin <grahamperrin@gmail.com> 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 = and poor transfer of ~168M/minute CAUTION: This email originated from outside of the University of Guelph. Do= not click links or open attachments unless you recognize the sender and kn= ow the content is safe. If in doubt, forward suspicious emails to IThelp@uo= guelph.ca On 02/01/2021 20:05, Matthias Apitz wrote: > Here we go:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252358 Thank you. I plan to build and install 82397d791966b09d344251bc709cd9db2b3a1902; <https://cgit.freebsd.org/src/log/?qt=3Drange&q=3D82397d791966b09d344251bc7= 09cd9db2b3a1902> ---- In the meantime: might 252358 be the cause of a peculiarity that I encountered, a week or so ago, whilst using sysutils/stressdisk with a particular (or particular type of) USB thumb drive? <https://github.com/ncw/stressdisk/issues/14> tl;dr whilst trying to test the flash device on USB at da0, there was _unexpected thrashing_ of the hard disk drive at ada0 _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YQXPR0101MB0968D2EE9A7EF28532132AC2DDD30>