Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Sep 2021 21:17:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 258204] Extremely poor performance copying directory with lot small files on nvme
Message-ID:  <bug-258204-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258204

            Bug ID: 258204
           Summary: Extremely poor performance copying directory with lot
                    small files on nvme
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: ali.abdallah@suse.com

Copying over a folder with lot of small files takes a lot of time

time cp -r /usr/src/sys /home/ali/sys
173.58 real         0.00 user         0.90 sys

/dev/gpt/freebsd-root    /        ufs     rw,noatime 2    2
/dev/gpt/freebsd-boot    /bootfs  ufs     rw         1    1
/dev/gpt/freebsd-swap    none     swap    sw         0    0=20

/usr/src/sys contains ~500M of data.=20

The problematic system is a T495 with nvme device. On the same machine, I
tested copying the same amount of data on OpenSUSE 15.3 with xfs root
partition, and it takes around 1.5 seconds.=20

While copying, I see that the 'cp' command spends a lot of time on biord/bi=
owr.

I did a test copying a single large file of 500M, and it impressively fast.=
=20

Please let me know if you need more data.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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