[Letux-kernel] MIPS news

H. Nikolaus Schaller hns at goldelico.com
Wed Jun 18 18:41:49 CEST 2025


Hi all,

thanks to the help of Paul, I have a test kernel that works
in non-SMP mode on all three: LX16, LX20 and CI20.

LX20 got USB (client mode) and "poweroff" working.

Here some benchmark results for cpu-speed and disk-speed:

a) LX20 (single core):

root at letux:~# echo $(cat /proc/device-tree/model)
Letux LX20v0.3
root at letux:~# uname -a
Linux letux 6.16.0-rc2-letux-mips+ #3299 PREEMPT Wed Jun 18 17:17:49 CEST 2025 mips GNU/Linux
root at letux:~# ./cpu-speed 
Number of threads: 1
Number of loops: 5000
Total primes: 168 in range 1..1000
Execution time : 5.550781
root at letux:~# ./disk-speed 
+++ checking /dev/mmcblk0 +++

/dev/mmcblk0:
 Timing O_DIRECT cached reads:    12 MB in  2.08 seconds =   5.78 MB/sec
 Timing O_DIRECT disk reads:  18 MB in  3.12 seconds =   5.78 MB/sec
root at letux:~#

b) LX16 (only one core available):

root at letux:~# echo $(cat /proc/device-tree/model)
Letux LX16v0.3
root at letux:~# uname -a
Linux letux 6.16.0-rc2-letux-mips+ #3299 PREEMPT Wed Jun 18 17:17:49 CEST 2025 mips GNU/Linux
root at letux:~# ./cpu-speed 
Number of threads: 1
Number of loops: 5000
Total primes: 168 in range 1..1000
Execution time : 14.865540
root at letux:~# ./disk-speed 
+++ checking /dev/mmcblk0 +++

/dev/mmcblk0:
 Timing O_DIRECT cached reads:    46 MB in  2.08 seconds =  22.16 MB/sec
 Timing O_DIRECT disk reads:  68 MB in  3.08 seconds =  22.09 MB/sec
root at letux:~# 

c) CI20 (single core):

root at letux:~# echo $(cat /proc/device-tree/model)
Imagination creator CI20
root at letux:~# uname -a
Linux letux 6.16.0-rc2-letux-mips+ #3299 PREEMPT Wed Jun 18 17:17:49 CEST 2025 mips GNU/Linux
root at letux:~# ./cpu-speed 
Number of threads: 1
Number of loops: 5000
Total primes: 168 in range 1..1000
Execution time : 13.575369
root at letux:~# ./disk-speed 
+++ checking /dev/mmcblk0 +++

/dev/mmcblk0:
 Timing O_DIRECT cached reads:    24 MB in  2.10 seconds =  11.42 MB/sec
 Timing O_DIRECT disk reads:  36 MB in  3.15 seconds =  11.43 MB/sec
root at letux:~#

d) some 3.3 GHz Core i5 (from 2018) in single-core mode:

iMac:root hns$ ./cpu-speed
./cpu-speed: line 4: nproc: command not found
-macosx_version_min has been renamed to -macos_version_min
Number of threads: 1
Number of loops: 5000
Total primes: 168 in range 1..1000
Execution time : 0.933787
iMac:root hns$ 

Especially the X2000 is impressively fast (except for disk-speed...).

BR,
Nikolaus


More information about the Letux-kernel mailing list