Package: squashfs-tools
Version: 1:4.3-11
Severity: normal

Dear Maintainer,

The mksquashfs from squashfs-tools 1:4.3-11 somehow can not make use all
CPU cores. I found this when making a Debian live Sid system on my
Stretch amd64 machine. Hence I have tried different versions of
squashfs-tools. For mksquashfs from squashfs-tools 1:4.3-11 , I ran it by:
time sudo mksquashfs squashfs-root filesystem.squashfs.new -b 1024k
-comp xz -Xbcj x86 -e boot -no-progress
The results:
=====
Parallel mksquashfs: Using 16 processors
Creating 4.0 filesystem on filesystem.squashfs.new, block size 1048576.
[=========================================================================================================\]
26729/26729 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 1048576
        compressed data, compressed metadata, compressed fragments,
compressed xattrs
        duplicates are removed
Filesystem size 225629.14 Kbytes (220.34 Mbytes)
        22.96% of uncompressed filesystem size (982728.66 Kbytes)
Inode table size 270992 bytes (264.64 Kbytes)
        23.39% of uncompressed inode table size (1158359 bytes)
Directory table size 302522 bytes (295.43 Kbytes)
        41.51% of uncompressed directory table size (728752 bytes)
Number of duplicate files found 1981
Number of inodes 34931
Number of files 26518
Number of fragments 660
Number of symbolic links  4255
Number of device nodes 9
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 4149
Number of ids (unique uids + gids) 15
Number of uids 4
        root (0)
        messagebus (104)
        www-data (33)
        colord (108)
Number of gids 13
        root (0)
        dip (30)
        adm (4)
        shadow (42)
        nogroup (65534)
        utmp (43)
        tty (5)
        messagebus (109)
        crontab (107)
        staff (50)
        avahi (110)
        www-data (33)
        mail (8)

real    5m38.136s
user    10m51.448s
sys     0m2.184s
=====
In the beginning, from htop, I can see all the CPU cores are used, but
suddenly there is only 1 or 2 cores are used. If I downgraded
squashfs-tools to 1:4.3-10, the result from the time command:
real    2m28.566s
user    7m55.324s
sys     0m1.819s

Furthermore, when squashfs-tools 1:4.3-9 was used, the result:
real    1m2.466s
user    16m17.904s
sys     0m7.610s

Something has changed between 1:4.3-9 to 1:4.3-11, so it took much
longer to create squashfs file system.
If you need more tests or info, please let me know.
Thanks you very much.

Steven


-- System Information:
Debian Release: 9.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-0.bpo.3-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages squashfs-tools depends on:
ii  libc6      2.24-11+deb9u3
ii  liblz4-1   0.0~r131-2+b1
ii  liblzma5   5.2.2-1.2+b1
ii  liblzo2-2  2.08-1.2+b2
ii  libzstd1   1.3.8+dfsg-3
ii  zlib1g     1:1.2.8.dfsg-5

squashfs-tools recommends no packages.

squashfs-tools suggests no packages.

-- no debconf information

-- 
Steven Shiau <steven _at_ stevenshiau org>
Public Key Server PGP Key ID: 4096R/163E3FB0
Fingerprint: EB1D D5BF 6F88 820B BCF5  356C 8E94 C9CD 163E 3FB0

Reply via email to