ZFS with 32-bit, non-x86 kernel

Bernd Walter ticso at cicely7.cicely.de
Sat Oct 5 09:15:05 UTC 2019


On Fri, Oct 04, 2019 at 05:05:25PM +0300, Andriy Gapon wrote:
> 
> Does anyone use ZFS with a 32-bit kernel, that is also not i386 ?
> If you do, could you please let me know?  Along with uname -rmp output.
> Thank you!

[51]wb1# uname -rmp
12.0-RELEASE arm armv7

It is a wandboard qaud with iMX6 and 2G RAM.
I'm using two uSD cards with zroot.

I'm also using the same setup on a raspberry Pi1:
[13]time1# uname -rmp
12.0-RELEASE arm armv6
But 512MB RAM are to low for zroot.
It technically does work, but hoks up the CPU in arc_reclaim_thread when
a scrub runs and since it takes forever it always runs.

last pid: 80786;  load averages:  6.56,  5.86,  5.75   up 185+05:51:55 11:10:04
372 threads:   5 running, 349 sleeping, 18 waiting
CPU:  0.1% user,  0.0% nice, 86.9% system,  3.8% interrupt,  9.2% idle
Mem: 4960K Active, 38M Inact, 128M Wired, 259M Free
ARC: 24M Total, 8591K MFU, 8896K MRU, 34K Anon, 251K Header, 6888K Other
     2676K Compressed, 74M Uncompressed, 28.31:1 Ratio
Swap: 

  PID USERNAME    PRI NICE   SIZE    RES STATE    TIME    WCPU COMMAND
    8 root         -8    -      0    96K arc_re 1597.2  53.94% zfskern{arc_reclaim_thread}
   10 root        155 ki31      0   8192 RUN    1765.3   9.26% idle
    0 root         -8    -      0  2064K -       75.7H   2.63% kernel{dp_sync_taskq}
   11 root        -80    -      0   144K WAIT    67.8H   1.88% intr{intc0,28: bcm_dma0}
   20 root         -8    -      0   8192 mmcreq  39.0H   1.31% mmcsd0: mmc/sd card
   12 root         -8    -      0    24K -       27.4H   0.87% geom{g_down}
   11 root        -60    -      0   144K WAIT    28.6H   0.74% intr{swi4: clock (0)}
   11 root        -88    -      0   144K WAIT    21.1H   0.66% intr{intc0,70: +}
   12 root         -8    -      0    24K -       19.3H   0.64% geom{g_up}

[16]time1# zpool status
  pool: zroot
 state: ONLINE
  scan: scrub in progress since Mon Jun 10 03:58:19 2019
        34.0G scanned at 3.52K/s, 867M issued at 89/s, 1.77G total
        0 repaired, 47.78% done, no estimated completion time
config:

        NAME                         STATE     READ WRITE CKSUM
        zroot                        ONLINE       0     0     0
          mirror-0                   ONLINE       0     0     0
            diskid/DISK-0000081Cs2a  ONLINE       0     0     0
            da0s2a                   ONLINE       0     0     0

errors: No known data errors

-- 
B.Walter <bernd at bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.


More information about the freebsd-stable mailing list