<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body dir="auto">Is there a typo in the OMAP5 result? Or is it really that good :) ?<div><br></div><div align="left" dir="auto" style="font-size:100%;color:#000000"><div>-------- Original message --------</div><div>From: "H. Nikolaus Schaller" <hns@goldelico.com> </div><div>Date: 16/01/2021  17:53  (GMT+00:00) </div><div>To: Zhou Yanjie <zhouyanjie@wanyeetech.com> </div><div>Cc: mips-creator-ci20-dev@googlegroups.com, Discussions about the Letux Kernel <letux-kernel@openphoenux.org>, Paul Boddie <paul@boddie.org.uk>, Riccardo Mottola <riccardo.mottola@libero.it>, Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> </div><div>Subject: Re: [Letux-kernel] The new SMP driver and the new cache driver. </div><div><br></div></div>Hi,<br><br>> Am 16.01.2021 um 07:55 schrieb H. Nikolaus Schaller <hns@goldelico.com>:<br>> <br>> This one booted without segfaults with the same rootfs as before. At least I haven't seen such.<br><br>I have rebuilt my tree and reinstalled and have not yet seen a segfault or hang as before.<br><br>No idea what went wrong. Could have been fetching/using the wrong defconfig. I have committed<br>the letux_defconfig and there is now a new branch "letux-5.10.7+jz4780-smp" [1] which appears<br>to work for me.<br><br>sysbench --cpu --num-threads=4 reports execution time (seconds) for some devices:<br><br>CI20 single threaded    139.4188<br>CI20:                 69.5500<br>Udoo Neo (i.MX6):      287.8606        [single core Cortex A8] <br>RasPi 3B+:            103.3249        [dual core CI20 is faster than quad-core A53 with 1.4 GHz (in 32 bit mode)]<br>PocketBeagle (AM3358):     359.8562        [single core Cortex A8]<br>Pyra (OMAP5):          9.9983          [dual Cortex A15 with 1.5GHz]<br>Pinephone:               52.9954         [quad core Cortex A53 (in 32 bit mode)]<br><br>That shows that the "old" jz4780 isn't that bad in performance if we have SMP enabled.<br>And compared to the OMAP5 it stays quite cool (<40°C).<br><br>Next step is to try to integrate SMP with the CI20-HDMI stuff. Then we may get a first<br>"longterm stable kernel" SMP solution, even if the patches need some polishing for<br>upstreaming.<br><br>BR and thanks for all the hard work on SMP,<br>Nikolaus<br><br><br>[1] https://git.goldelico.com/?p=letux-kernel.git;a=shortlog;h=refs/heads/letux-5.10.7%2Bjz4780-smp<br><br><br>Attached is some system info:<br><br>root@letux:~# cat /proc/cpuinfo <br>system type             : JZ4780<br>machine                 : img,ci20<br>processor               : 0<br>cpu model               : Ingenic XBurst V4.15  FPU V0.0<br>BogoMIPS                : 1196.85<br>wait instruction        : yes<br>microsecond timers      : no<br>tlb_entries             : 32<br>extra interrupt vector  : yes<br>hardware watchpoint     : yes, count: 1, address/irw mask: [0x0fff]<br>isa                     : mips1 mips2 mips32r1 mips32r2<br>ASEs implemented        :<br>shadow register sets    : 1<br>kscratch registers      : 0<br>package                 : 0<br>core                    : 0<br>VCED exceptions         : not available<br>VCEI exceptions         : not available<br><br>processor               : 1<br>cpu model               : Ingenic XBurst V4.15  FPU V0.0<br>BogoMIPS                : 1202.58<br>wait instruction        : yes<br>microsecond timers      : no<br>tlb_entries             : 32<br>extra interrupt vector  : yes<br>hardware watchpoint     : yes, count: 1, address/irw mask: [0x0fff]<br>isa                     : mips1 mips2 mips32r1 mips32r2<br>ASEs implemented        :<br>shadow register sets    : 1<br>kscratch registers      : 0<br>package                 : 0<br>core                    : 1<br>VCED exceptions         : not available<br>VCEI exceptions         : not available<br><br>root@letux:~# uname -a<br>Linux letux 5.10.7-letux-ci20+ #4688 SMP PREEMPT Sat Jan 16 16:14:24 CET 2021 mips GNU/Linuxroot@letux:~# cat </dev/tcp/time.nist.gov/13 && sysbench --test=cpu run && cat </dev/tcp/time.nist.gov/13<br><br>59230 21-01-16 16:48:00 00 0 0 651.3 UTC(NIST) * <br>sysbench 0.4.12:  multi-threaded system evaluation benchmark<br><br>Running the test with following options:<br>Number of threads: 1<br><br>Doing CPU performance benchmark<br><br>Threads started!<br>Done.<br><br>Maximum prime number checked in CPU test: 10000<br><br><br>Test execution summary:<br>    total time:                          139.4414s<br>    total number of events:              10000<br>    total time taken by event execution: 139.4188<br>    per-request statistics:<br>         min:                                 13.90ms<br>         avg:                                 13.94ms<br>         max:                                 14.46ms<br>         approx.  95 percentile:              13.98ms<br><br>Threads fairness:<br>    events (avg/stddev):           10000.0000/0.00<br>    execution time (avg/stddev):   139.4188/0.00<br><br><br>59230 21-01-16 16:50:20 00 0 0 943.6 UTC(NIST) * <br>root@letux:~# <br>_______________________________________________<br>https://projects.goldelico.com/p/gta04-kernel/<br>Letux-kernel mailing list<br>Letux-kernel@openphoenux.org<br>http://lists.goldelico.com/mailman/listinfo.cgi/letux-kernel<br></body></html>