Jump to content

hatahata

Members
  • Posts

    56
  • Joined

  • Last visited

Posts posted by hatahata

  1. hi all .

    i got a old pandaboard only $20 by auction .

     

    i expirienced RS232C conection to install freebsd & arch (fail to install openbsd ) .

    RS232C is impressive to me .

    i guess that the armbian developers  usually use rs232c .

    is it right ?

     

    if you have some interrest ,  please see http://akita-arm.blogspot.jp/2016/08/pandaboard-openbsd.html  .

     

    p.jpg

     

    a1.jpg

     

     

    two green palates is the thing on which we use kitchin knife on .

    it is easylly cut by scissors and holed out  by electric drill  and cheap only $1 .

     

    ------

    thanks

  2. hi all .

     

    when sysbench --test=cpu --cpu-max-prime=200000 run --num-threads=8

    case 1)   fan from upper , CPU temperature is 85 ~ 86 degree

     

    case 2)   fan from lateral side  , CPU temperature is 75 ~ 76 degree

     

    lateral is much better

     

    L27.jpg

     

     

     

    without fan

    Fri Jul 22 11:42:19 JST 2016
    58

     

    start  lateral side fun

    Fri Jul 22 11:47:39 JST 2016
    41

  3. i try partially.

     

    1)

    # date ; dd if=/dev/zero of=/ma1/k-test bs=1M count=1K && sync ; date
    Thu Jul 21 04:32:26 JST 2016
    1024+0 records in
    1024+0 records out
    1073741824 bytes (1.1 GB) copied, 37.0172 s, 29.0 MB/s
    Thu Jul 21 04:33:08 JST 2016
     

    hard disk is old IDE .

     

     

     

     

    2)

    iperf -s
    ------------------------------------------------------------
    Server listening on TCP port 5001
    TCP window size: 85.3 KByte (default)
    ------------------------------------------------------------

     

    I only use  5mm thickness heat conducting material  and alminium cap only .

    then

    Thu Jul 21 04:46:25 JST 2016
     temperature ->  60
                 total       used       free     shared    buffers     cached
    Mem:        872328     821296      51032      17908      21068     626484

     

     

    when using plus active cooling by cooleng fan for raspberry pi

    Thu Jul 21 05:03:42 JST 2016
      42
                 total       used       free     shared    buffers     cached
    Mem:        872328     823560      48768      17908      23628     626752

     

     

    c1.jpg

     

     

    i think 8 core is like a 8 cylinder engine .

    so it is harder  to controll than 2  cylinder engine .

    but more and more expirience is piled up , someday breakthrough occur , i believe

     

    a1.jpg

     

    ----

    regards

  4. i imagine

     

    banana pi 2 core -> 25 degree

    odroid-c2  4 core -> 55 degree

    nano pi M3 8 core ->85 degree

     

    then

    arm 16 core , 115 degree

     

    only imagination

     

    in fact odroid's 8 core ($79) has active cooling .

     

    201606241810180839.jpg

     

    ---

    regards

     

    ps: nano pi M3 has 3 problems

    1) temperature  : tkaiser solved

    2) cannot use swap

    3) cannot see youtube

  5. date ; sysbench --test=cpu --cpu-max-prime=20000 run --num-threads=8 ;date
    Fri Jul  8 15:24:54 JST 2016
    sysbench 0.4.12:  multi-threaded system evaluation benchmark

    Running the test with following options:
    Number of threads: 8

    Doing CPU performance benchmark

    Threads started!
    Done.

    Maximum prime number checked in CPU test: 20000


    Test execution summary:
        total time:                          57.0156s
        total number of events:              10000
        total time taken by event execution: 455.8727
        per-request statistics:
             min:                                 45.43ms
             avg:                                 45.59ms
             max:                                 77.53ms
             approx.  95 percentile:              45.67ms

    Threads fairness:
        events (avg/stddev):           1250.0000/0.87
        execution time (avg/stddev):   56.9841/0.02

    Fri Jul  8 15:25:51 JST 2016
     

     

    and

    while sysbench --test=cpu --cpu-max-prime=200000 run --num-threads=8 ,

     

    Fri Jul  8 15:32:58 JST 2016
      87
    fa@NanoPi3:~$ date ; cat  /sys/class/hwmon/hwmon0/device/temp_label
    Fri Jul  8 15:33:03 JST 2016
      87
    fa@NanoPi3:~$ date ; cat  /sys/class/hwmon/hwmon0/device/temp_label
    Fri Jul  8 15:33:06 JST 2016
      88
    fa@NanoPi3:~$ date ; cat  /sys/class/hwmon/hwmon0/device/temp_label
    Fri Jul  8 15:33:09 JST 2016
      85
    fa@NanoPi3:~$ date ; cat  /sys/class/hwmon/hwmon0/device/temp_label
    Fri Jul  8 15:33:14 JST 2016
      88
    fa@NanoPi3:~$ date ; cat  /sys/class/hwmon/hwmon0/device/temp_label
    Fri Jul  8 15:33:18 JST 2016
      87
    fa@NanoPi3:~$ date ; cat  /sys/class/hwmon/hwmon0/device/temp_label
    Fri Jul  8 15:33:23 JST 2016
      88
    fa@NanoPi3:~$ date ; cat  /sys/class/hwmon/hwmon0/device/temp_label
    Fri Jul  8 15:33:25 JST 2016
      85
    fa@NanoPi3:~$ date ; cat  /sys/class/hwmon/hwmon0/device/temp_label
    Fri Jul  8 15:33:35 JST 2016
      86
    fa@NanoPi3:~$ date ; cat  /sys/class/hwmon/hwmon0/device/temp_label
     

    max is 88 .

     

    thanks for advice of detectiing Nano pi M3's CPU temperature !

  6. of course

     

    in japan ,  10 yen  coin ( about  $0.1) is made by copper  and is the cheapest material.

    the best is silver coin .

    are there coins made by copper in USA ?

     

    and acryl plate is easily holed out with metal drill .

    alminium cap presses coins against heat sink and  so fixes coins and heat sink .

     

    i use

    20sheets-Double-Sided-Coated-Tissue-Tape

  7. i am suprising your vast knowlege .

     

    i only follow  'Install Cross Compiler' of
      http://wiki.friendlyarm.com/wiki/index.php/NanoPi_M3#Boot_NanoPi_M3_from_SD_Card

     

    i use 64bit CPU and 64bit debiandog .

    i finally underastand that nano pi M3 is 64bit hardware but the present OS is 32 bit .

    surely nano pi M3 becomes hot and hot and suddenly reboot .
    so i made the device which misses heat .
    now there is no rebooting .

     

    q1.jpg

     

     

     

    q2.jpg

     

     

    10yen.jpeg

     

    Because it doesn't work easily,     it's fascinating.
    Because there is mystery,            a detective story is read.
    Because there is a mountain,       it's climbed.

    so i think .

    ---

    regards   http://akita-8core.blogspot.jp/2016/06/nano-pi-m3.html

  8. about nano pi M3

     

    cross compile is possible on debiandog64 (perhaps   intel 64bit   and      debian etc 64bit)

    see -> http://akita-8core.blogspot.jp/2016/06/nano-pi-m3.html

     

    so

    diff .config .config-ori
    53c53
    < CONFIG_SWAP=y
    ---
    > # CONFIG_SWAP is not set
    96d95
    < # CONFIG_CGROUP_MEM_RES_CTLR_SWAP is not set
    1801,1802c1800
    < CONFIG_THERMAL=y
    < CONFIG_THERMAL_HWMON=y
    ---
    > # CONFIG_THERMAL is not set
    

    may show CPU temperature , but only posibility .

    ---

    regards

  9. i bought nano pi M3 .

     

    uname -ar

    Linux NanoPi3 3.4.39-s5p6818 #2 SMP PREEMPT Fri May 20 15:51:46 HKT 2016 armv7l GNU/Linux

     

    and

    cat /etc/apt/sources.list
    deb http://ftp.cn.debian.org/debianjessie main non-free contrib
    deb-src http://ftp.cn.debian.org/debianjessie main non-free contrib

     

    but CPU is very hot .

    but i can not mesure its temperature .

    (lm-sensors is not OK)

     

    usually armbian could make its temperature lower , this was done in case of orange pi PC  .

     

    http://wiki.friendlyarm.com/wiki/index.php/NanoPi_M3is a page of nano pi M3

     

     

    -----

    regards

  10. i install armbian into banana pi M1 .

    cat .asoundrc-X
    pcm.!default {
    type hw
    card 2
    }
    
    ctl.!default {
    type hw
    card 2
    }
    
    

    and get sound from TV namely HDMI .

     

     

    then i attach HDMI cable to sharp TV .

    $ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: sunxicodec [sunxi-CODEC], device 0: M1 PCM [sunxi PCM]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: sunxisndhdmi [sunxi-sndhdmi], device 0: SUNXI-HDMIAUDIO sndhdmi-0 [sunxi HDMI PCM]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    
    
    
    ~$ cat .asoundrc
    pcm.!default {
    type hw
    card 1
    }
    
    ctl.!default {
    type hw
    card 1
    }
    
    

    from sharp TV , i cannot get sound from TV, i get it  only from audio out .

     

    i cannot understand .

    ----

    regards

  11. hi all .

     

    i think sd card is much shorter life time and restricted size ( 64G ~ 128G and big size is too expensive ).

    so as server , i like to use hard disk as root .

    for this purpose , nand-sata-install.sh is excellent ( but too complex for me to understand ) .

     

    i use nand-sata-install.sh on odroid-c2 armbian .

     

    and on working armbian , i run next script .

    ( the timing to attach sdb is about 10~15 second later after armbian booting ) .

    sda1 is cloned to sdb1 .

     

    clone-rsync-2-HDD-delete.bat

    ntpd -s
    date
    echo '--------------------'
    umount /mb1
    mount /dev/sdb1 /mb1
    df
    echo '--------------------'
    read X
    echo $X
    cd /mb1
    mkdir -p bin            etc home lib                 opt        root       sbin  selinux  srv            usr var  
    for x in /bin          /etc /home /lib               /opt      /root       /sbin /selinux /srv          /usr /var
    do
    rsync -avHx --delete  $x/  /mb1$x/
    done
    cd /mb1
    mkdir -p     boot  dev                  media   mnt       proc         run                      sys  tmp 
    
    


     

    it works for me .

    ---

    detail is at  http://odroid-akita.blogspot.jp/2016/04/odoroid-c2.html

     

  12. i give up benchmark .

     

    at odroid-c2(armbian and over internet )

    date ; ./pi.bat ; date
    2016å¹´  6月  7æ—¥ ç«æ›œæ—¥ 05:15:29 JST
    3.14159265359
    2016å¹´  6月  7æ—¥ ç«æ›œæ—¥ 05:16:06 JST
    37 sec

     

    at Intel® Celeron® CPU          540  @ 1.86GHz (kali linux)

    $ date ; ./pi.bat ; date
    2016å¹´  6月  7æ—¥ ç«æ›œæ—¥ 05:16:17 JST
    3.14159265359
    2016å¹´  6月  7æ—¥ ç«æ›œæ—¥ 05:16:28 JST
    11 sec

     

     

    here

     cat pi.bat

     

    #!/usr/bin/env python
    def f(x):
      return 4 / ( 1.0 + x**2 )
    n = 10000000
    sum = 0
    step = 1.0 / n
    for i in range(0, n):
      x = ( i + 0.5 ) * step
      sum += f(x)

    pi = sum * step
    print pi

     

     

     

    i get pi information at http://netbuffalo.doorblog.jp/archives/4783572.html

     

     

    i tried arch linux on odroid-c2 , but almost all aur fails .

    and

    in openbsd , source(ports) is common  to all architecture .  .this is suprising .

  13. i tried sysbench .

     

    sysbench  --test=cpu run

     

    the result is

     

    dmesg | grep CPU0
     

    CPU0: Intel® Celeron® CPU          540  @ 1.86GHz (fam: 06, model: 16, stepping: 01)
    Threads started!
    Done.

    Maximum prime number checked in CPU test: 10000


    Test execution summary:
        total time:                          23.2413s
        total number of events:              10000
        total time taken by event execution: 23.2258
        per-request statistics:
             min:                                  2.20ms
             avg:                                  2.32ms
             max:                                 10.99ms
             approx.  95 percentile:               2.39ms

    Threads fairness:
        events (avg/stddev):           10000.0000/0.00
        execution time (avg/stddev):   23.2258/0.00

     

     

    odoroid-c2 over internet

     Threads started!
    Done.

    Maximum prime number checked in CPU test: 10000


    Test execution summary:
        total time:                          9.6456s
        total number of events:              10000
        total time taken by event execution: 9.6433
        per-request statistics:
             min:                                  0.96ms
             avg:                                  0.96ms
             max:                                  1.42ms
             approx.  95 percentile:               0.97ms

    Threads fairness:
        events (avg/stddev):           10000.0000/0.00
        execution time (avg/stddev):   9.6433/0.00

     

     

    odroid-c2 is much faster than Celeron®  1.86GHz

  14. thanks for reply .

     

     

    /etc/init.d/nginx restart
    [....] Restarting nginx (via systemctl): nginx.serviceJob for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details.
     failed!
     

     

    systemctl status nginx.service
    â— nginx.service - A high performance web server and a reverse proxy server
       Loaded: loaded (/lib/systemd/system/nginx.service; enabled)
       Active: failed (Result: exit-code) since æ°´ 2016-05-04 07:30:04 JST; 45s ago
      Process: 2331 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
      Process: 2389 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

     5月 04 07:30:04 odroidc2 nginx[2389]: nginx: [emerg] could not build the server_...32
     5月 04 07:30:04 odroidc2 nginx[2389]: nginx: configuration file /etc/nginx/nginx...ed
     5月 04 07:30:04 odroidc2 systemd[1]: nginx.service: control process exited, code...=1
     5月 04 07:30:04 odroidc2 systemd[1]: Failed to start A high performance web serv...r.
     5月 04 07:30:04 odroidc2 systemd[1]: Unit nginx.service entered failed state.
    Hint: Some lines were ellipsized, use -l to show in full.

     

     

     

    journalctl -xn
    -- Logs begin at æ°´ 2016-05-04 07:08:39 JST, end at æ°´ 2016-05-04 07:31:08 JST. --
     5月 04 07:30:58 odroidc2 nodm[2417]: pam_systemd(nodm:session): Failed to release sess
     5月 04 07:30:58 odroidc2 nodm[2417]: pam_close_session: Cannot make/remove an entry fo
     5月 04 07:30:58 odroidc2 nodm[580]: X session 2417 quit with status 0
     5月 04 07:30:58 odroidc2 nodm[580]: sending X server 2412 the TERM signal
     5月 04 07:30:58 odroidc2 kernel: fb: osd[0] canvas.idx =0x40
     5月 04 07:30:58 odroidc2 kernel: fb: osd[0] canvas.addr=0x78000000
     5月 04 07:30:58 odroidc2 kernel: fb: osd[0] canvas.width=5760
     5月 04 07:30:58 odroidc2 kernel: fb: osd[0] canvas.height=2160
     5月 04 07:30:58 odroidc2 nodm[580]: session lasted less than 60 seconds: sleeping 60 s
     5月 04 07:31:08 odroidc2 systemd-logind[519]: Removed session c22.
    -- Subject: A session c22 has been terminated
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    -- Documentation: http://www.freedesktop.org/wiki/Software/systemd/multiseat
    --
    -- A session with the ID c22 has been terminated.

     

     

     

     

     

    cat /var/log/nginx/error.log
    2016/05/02 23:23:45 [emerg] 12720#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
    2016/05/02 23:23:56 [emerg] 12753#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
    2016/05/02 23:26:32 [emerg] 12816#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
    2016/05/02 23:31:02 [emerg] 12960#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
    2016/05/02 23:37:29 [emerg] 13084#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
    2016/05/02 23:40:07 [emerg] 13158#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
    2016/05/03 00:03:03 [emerg] 13518#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
    2016/05/04 07:28:53 [emerg] 2248#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
    2016/05/04 07:28:53 [emerg] 2248#0: bind() to [::]:80 failed (98: Address already in use)
    2016/05/04 07:28:53 [emerg] 2248#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
    2016/05/04 07:28:53 [emerg] 2248#0: bind() to [::]:80 failed (98: Address already in use)
    2016/05/04 07:28:53 [emerg] 2248#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
    2016/05/04 07:28:53 [emerg] 2248#0: bind() to [::]:80 failed (98: Address already in use)
    2016/05/04 07:28:53 [emerg] 2248#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
    2016/05/04 07:28:53 [emerg] 2248#0: bind() to [::]:80 failed (98: Address already in use)
    2016/05/04 07:28:53 [emerg] 2248#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
    2016/05/04 07:28:53 [emerg] 2248#0: bind() to [::]:80 failed (98: Address already in use)
    2016/05/04 07:28:53 [emerg] 2248#0: still could not bind()
    2016/05/04 07:28:58 [emerg] 2331#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
    2016/05/04 07:28:58 [emerg] 2331#0: bind() to [::]:80 failed (98: Address already in use)
    2016/05/04 07:28:58 [emerg] 2331#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
    2016/05/04 07:28:58 [emerg] 2331#0: bind() to [::]:80 failed (98: Address already in use)
    2016/05/04 07:28:58 [emerg] 2331#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
    2016/05/04 07:28:58 [emerg] 2331#0: bind() to [::]:80 failed (98: Address already in use)
    2016/05/04 07:28:58 [emerg] 2331#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
    2016/05/04 07:28:58 [emerg] 2331#0: bind() to [::]:80 failed (98: Address already in use)
    2016/05/04 07:28:58 [emerg] 2331#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
    2016/05/04 07:28:58 [emerg] 2331#0: bind() to [::]:80 failed (98: Address already in use)
    2016/05/04 07:28:58 [emerg] 2331#0: still could not bind()
    2016/05/04 07:30:04 [emerg] 2389#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32

     

  15. i see unixbench was outdated .

     

    i want to mesure cpu speed  not hard disk speed .

    i do not know the tool .

     

    Once upon a time  there was super pi and i used it .

    at present whic one is easy to do  to measure cpu speed ?

     

    orange pi PC  with armbian is very tuned up  and is fast and i think it may be faster than raspberry pi 3 with rasbian  .

    i think odroid-c2 must be fast considering its hardware .

  16. hi all

     

    i try unixbench (Version 5.1.3)

       compared with  orange pi PC's  System Benchmarks Index Score    202.0

     

     

     

    Benchmark Run: 章 5月 03 2016 23:39:28 - 00:07:31
    0 CPUs in system; running 1 parallel copy of tests

    Dhrystone 2 using register variables        7827597.5 lps   (10.0 s, 7 samples)
    Double-Precision Whetstone                      915.0 MWIPS (9.8 s, 7 samples)
    Execl Throughput                                459.3 lps   (29.9 s, 2 samples)
    File Copy 1024 bufsize 2000 maxblocks        176763.8 KBps  (30.0 s, 2 samples)
    File Copy 256 bufsize 500 maxblocks           53800.0 KBps  (30.0 s, 2 samples)
    File Copy 4096 bufsize 8000 maxblocks        431407.5 KBps  (30.0 s, 2 samples)
    Pipe Throughput                              430477.6 lps   (10.0 s, 7 samples)
    Pipe-based Context Switching                  73425.8 lps   (10.0 s, 7 samples)
    Process Creation                               1360.4 lps   (30.0 s, 2 samples)
    Shell Scripts (1 concurrent)                   1188.6 lpm   (60.0 s, 2 samples)
    Shell Scripts (8 concurrent)                    783.3 lpm   (60.1 s, 2 samples)
    System Call Overhead                         969171.8 lps   (10.0 s, 7 samples)

    System Benchmarks Index Values               BASELINE       RESULT    INDEX
    Dhrystone 2 using register variables         16700.0    7827597.5    670.7
    Double-Precision Whetstone                            55.0           915.0    166.4
    Execl Throughput                                                43.0           459.3    106.8
    File Copy 1024 bufsize 2000 maxblocks     3960.0     176763.8    446.4
    File Copy 256 bufsize 500 maxblocks         1655.0      53800.0    325.1
    File Copy 4096 bufsize 8000 maxblocks     5800.0     431407.5    743.8
    Pipe Throughput                                           12440.0     430477.6    346.0
    Pipe-based Context Switching                      4000.0      73425.8    183.6
    Process Creation                                              126.0       1360.4    108.0
    Shell Scripts (1 concurrent)                              42.4       1188.6    280.3
    Shell Scripts (8 concurrent)                                6.0        783.3   1305.6
    System Call Overhead                                 15000.0     969171.8    646.1
                                                                       ========
    System Benchmarks Index Score                                         336.2

    surely odroid-c2's score  is higer  than orane pi PC ( 336.2 X 202.0) .

     

     

    and

    old intel PC ,

    smpboot: CPU0: Intel® Celeron® CPU    540  @ 1.86GHz (fam: 06, model: 16, stepping: 01)
    System Benchmarks Index Score                                         616.3

     

    only result , i cannot analyze .

    ---

    regards

  17. solved .

     

    " aptitude install pulseaudio " then youtube get sound from TV (hdmi ) .

     

     

    but i donot know the reason .

     

     

    in addition   with arch linux on odoroid-c2 , even ' aplay -l ' cannot show any sound device.

    perhaps linux on odoroid-c2 is not completed but developping state .

    at present  armbian is best choice for odroid-c2 users .

     

    -------

    regards

    my memo is on http://odroid-akita.blogspot.jp/2016/04/odoroid-c2.html .

  18. when i attach usb sound card ,  [mplayer Y.mp3 ] sounds well .

     

    and iceweasel drops sometimes abruptly .

    does  iceweasel have problems ?

     

    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: ODROIDHDMI [ODROID-HDMI], device 0: I2S.26 dit-hifi-0 []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 1: U0x41e0x30d3 [uSB Device 0x41e:0x30d3], device 0: USB Audio [uSB Audio]
      Subdevices: 1/1
      Subdevice #0: subdevice #0

     

     

    $ cat .asoundrc
    pcm.!default {
    type hw
    card 1
    }

    ctl.!default {
    type hw
    card 1
    }

    timer.!default {
    type hw
    card 1
    }

     

    ---

    regards

  19. Hi all .

     

    i hear sound by mplayer X.mp4

     

    but i cannot hear sound in youtube with iceweasel .

    i lack something .

    what is it ?

     

     

    aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: ODROIDHDMI [ODROID-HDMI], device 0: I2S.26 dit-hifi-0 []
      Subdevices: 1/1
      Subdevice #0: subdevice #0

     

     

    cat .asoundrc
    pcm.!default {
    type hw
    card 0
    }
    ctl.!default {
    type hw
    card 0
    }

     

     

     

    ---

    regards

     

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines