embeded/odroid2016. 9. 5. 23:50

sdhc 라고 해도

스펙상 표기된 배속이 오히려 중요하다


그리고 같은 80MB/s 라면 충분하다.




 

 raspberry pi

 odroid 

 48MB/s

 Operations performed:  480 Read, 320 Write, 940 Other = 1740 Total

Read 7.5Mb  Written 5Mb  Total transferred 12.5Mb  (42.52Kb/sec)

    2.66 Requests/sec executed


Test execution summary:

    total time:                          301.0322s

    total number of events:              800

    total time taken by event execution: 7.0629

    per-request statistics:

         min:                                  0.03ms

         avg:                                  8.83ms

         max:                               1856.83ms

         approx.  95 percentile:               2.49ms


Threads fairness:

    events (avg/stddev):           800.0000/0.00

    execution time (avg/stddev):   7.0629/0.00  

 Operations performed:  420 Read, 280 Write, 879 Other = 1579 Total

Read 6.5625Mb  Written 4.375Mb  Total transferred 10.938Mb  (37.305Kb/sec)

    2.33 Requests/sec executed


Test execution summary:

    total time:                          300.2241s

    total number of events:              700

    total time taken by event execution: 6.8257

    per-request statistics:

         min:                                  0.02ms

         avg:                                  9.75ms

         max:                               2365.06ms

         approx.  95 percentile:               0.04ms



Threads fairness:

    events (avg/stddev):           700.0000/0.00

    execution time (avg/stddev):   6.8257/0.00 

 80MB/s

 Operations performed:  1320 Read, 880 Write, 2730 Other = 4930 Total

Read 20.625Mb  Written 13.75Mb  Total transferred 34.375Mb  (117.19Kb/sec)

    7.32 Requests/sec executed


Test execution summary:

    total time:                          300.3619s

    total number of events:              2200

    total time taken by event execution: 1.0915

    per-request statistics:

         min:                                  0.04ms

         avg:                                  0.50ms

         max:                                  4.20ms

         approx.  95 percentile:               1.93ms


Threads fairness:

    events (avg/stddev):           2200.0000/0.00

    execution time (avg/stddev):   1.0915/0.00

 Operations performed:  1320 Read, 880 Write, 2732 Other = 4932 Total

Read 20.625Mb  Written 13.75Mb  Total transferred 34.375Mb  (117.23Kb/sec)

    7.33 Requests/sec executed


Test execution summary:

    total time:                          300.2601s

    total number of events:              2200

    total time taken by event execution: 1.2338

    per-request statistics:

         min:                                  0.02ms

         avg:                                  0.56ms

         max:                                426.44ms

         approx.  95 percentile:               0.04ms


Threads fairness:

    events (avg/stddev):           2200.0000/0.00

    execution time (avg/stddev):   1.2338/0.00


'embeded > odroid' 카테고리의 다른 글

odroid u2 크롬이 느리네..(창 그리기)  (0) 2016.09.07
odroid u3 한글 입력  (0) 2016.09.06
class 10 UHS-1 이라도 같은게 아닌가?  (0) 2016.09.05
odroid sysbench fileio  (0) 2016.09.05
odroid u3는 SDHC..  (0) 2016.09.05
Posted by 구차니
embeded/odroid2016. 9. 5. 23:33

예전에 라즈베리에서 쓰던게...

80MB/s 짜리 검은색 Ultra class 10 UHS-1 이었나 본데..

새로 산건

48MB/s 짜리 흰/회색 Ultra class 10 UHS-1 인 듯..


젠장 -_-

라즈베리에서 쓰던 녀석을

odroid에 하니 날아 다닌다 -_-



[링크 : https://www.sandisk.com/home/memory-cards/microsd-cards/ultra-microsd-for-cameras]

'embeded > odroid' 카테고리의 다른 글

odroid u3 한글 입력  (0) 2016.09.06
odroid class 10 테스트 결론  (0) 2016.09.05
odroid sysbench fileio  (0) 2016.09.05
odroid u3는 SDHC..  (0) 2016.09.05
odroid emmc sd 동시 사용하기  (0) 2016.09.05
Posted by 구차니
Linux/Ubuntu2016. 9. 5. 21:01

디스크 성능 테스트 용


[링크 : http://askubuntu.com/questions/249310/how-can-i-launch-disk-utility-after-installing-it]

'Linux > Ubuntu' 카테고리의 다른 글

dhcp 받아오기 실패시 static ip로 설정하기 (timeout 시)  (0) 2016.10.05
proprietary driver on lubuntu  (0) 2016.09.09
lynx 마우스 사용하기  (0) 2016.08.18
axel  (0) 2016.08.18
baobab - Disk Usage Analyzer  (0) 2016.06.13
Posted by 구차니
embeded/odroid2016. 9. 5. 20:42

확실히... 라즈베리 파이 2b 대비 드럽게 느리다.

-_-


$ sysbench --test=fileio --file-total-size=1G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run

sysbench 0.4.12:  multi-threaded system evaluation benchmark


Running the test with following options:

Number of threads: 1

Initializing random number generator from timer.



Extra file open flags: 0

128 files, 8Mb each

1Gb total file size

Block size 16Kb

Number of random requests for random IO: 0

Read/Write ratio for combined random IO test: 1.50

Periodic FSYNC enabled, calling fsync() each 100 requests.

Calling fsync() at the end of test, Enabled.

Using synchronous I/O mode

Doing random r/w test

Threads started!

Time limit exceeded, exiting...

Done.


Operations performed:  420 Read, 280 Write, 879 Other = 1579 Total

Read 6.5625Mb  Written 4.375Mb  Total transferred 10.938Mb  (37.305Kb/sec)

    2.33 Requests/sec executed


Test execution summary:

    total time:                          300.2241s

    total number of events:              700

    total time taken by event execution: 6.8257

    per-request statistics:

         min:                                  0.02ms

         avg:                                  9.75ms

         max:                               2365.06ms

         approx.  95 percentile:               0.04ms


Threads fairness:

    events (avg/stddev):           700.0000/0.00

    execution time (avg/stddev):   6.8257/0.00 


$ sysbench --test=fileio --file-total-size=1G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run

sysbench 0.4.12:  multi-threaded system evaluation benchmark


Running the test with following options:

Number of threads: 1

Initializing random number generator from timer.



Extra file open flags: 0

128 files, 8Mb each

1Gb total file size

Block size 16Kb

Number of random requests for random IO: 0

Read/Write ratio for combined random IO test: 1.50

Periodic FSYNC enabled, calling fsync() each 100 requests.

Calling fsync() at the end of test, Enabled.

Using synchronous I/O mode

Doing random r/w test

Threads started!

Time limit exceeded, exiting...

Done.


Operations performed:  360 Read, 240 Write, 712 Other = 1312 Total

Read 5.625Mb  Written 3.75Mb  Total transferred 9.375Mb  (30.176Kb/sec)

    1.89 Requests/sec executed


Test execution summary:

    total time:                          318.1355s

    total number of events:              600

    total time taken by event execution: 14.9020

    per-request statistics:

         min:                                  0.02ms

         avg:                                 24.84ms

         max:                               4322.77ms

         approx.  95 percentile:               0.04ms


Threads fairness:

    events (avg/stddev):           600.0000/0.00

    execution time (avg/stddev):   14.9020/0.00 





가장 위의 녀석을 라즈베리 깔아서 테스트한 결과

$ sysbench --test=fileio --file-total-size=1G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run

sysbench 0.4.12:  multi-threaded system evaluation benchmark


Running the test with following options:

Number of threads: 1

Initializing random number generator from timer.



Extra file open flags: 0

128 files, 8Mb each

1Gb total file size

Block size 16Kb

Number of random requests for random IO: 0

Read/Write ratio for combined random IO test: 1.50

Periodic FSYNC enabled, calling fsync() each 100 requests.

Calling fsync() at the end of test, Enabled.

Using synchronous I/O mode

Doing random r/w test

Threads started!

Time limit exceeded, exiting...

Done.


Operations performed:  480 Read, 320 Write, 940 Other = 1740 Total

Read 7.5Mb  Written 5Mb  Total transferred 12.5Mb  (42.52Kb/sec)

    2.66 Requests/sec executed


Test execution summary:

    total time:                          301.0322s

    total number of events:              800

    total time taken by event execution: 7.0629

    per-request statistics:

         min:                                  0.03ms

         avg:                                  8.83ms

         max:                               1856.83ms

         approx.  95 percentile:               2.49ms


Threads fairness:

    events (avg/stddev):           800.0000/0.00

    execution time (avg/stddev):   7.0629/0.00  



결론 : 걍.. 라즈베리에서 쓰던게 성능이 좋은거구나..

똑같은 sandisk ultra 16GB microSD HC UHS-1 class 10인데

하나는 검은색(라즈베리)

다른 네개는 흰+회색


무슨 차이지?



+

라즈베리에서 날아다니던 녀석을 odroid에 꽂아서 테스트 하니 날아 다닌다. ㄷㄷㄷ

$ sysbench --test=fileio --file-total-size=1G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run

sysbench 0.4.12:  multi-threaded system evaluation benchmark


Running the test with following options:

Number of threads: 1

Initializing random number generator from timer.



Extra file open flags: 0

128 files, 8Mb each

1Gb total file size

Block size 16Kb

Number of random requests for random IO: 0

Read/Write ratio for combined random IO test: 1.50

Periodic FSYNC enabled, calling fsync() each 100 requests.

Calling fsync() at the end of test, Enabled.

Using synchronous I/O mode

Doing random r/w test

Threads started!

Time limit exceeded, exiting...

Done.


Operations performed:  1320 Read, 880 Write, 2732 Other = 4932 Total

Read 20.625Mb  Written 13.75Mb  Total transferred 34.375Mb  (117.23Kb/sec)

    7.33 Requests/sec executed


Test execution summary:

    total time:                          300.2601s

    total number of events:              2200

    total time taken by event execution: 1.2338

    per-request statistics:

         min:                                  0.02ms

         avg:                                  0.56ms

         max:                                426.44ms

         approx.  95 percentile:               0.04ms


Threads fairness:

    events (avg/stddev):           2200.0000/0.00

    execution time (avg/stddev):   1.2338/0.00 


'embeded > odroid' 카테고리의 다른 글

odroid class 10 테스트 결론  (0) 2016.09.05
class 10 UHS-1 이라도 같은게 아닌가?  (0) 2016.09.05
odroid u3는 SDHC..  (0) 2016.09.05
odroid emmc sd 동시 사용하기  (0) 2016.09.05
odroid Win32DiskImager 별 속도 테스트  (0) 2016.09.04
Posted by 구차니

베란다에서 자꾸 창문에 맞고 이래저래 쫒겨 다니는 내 자전거가 불쌍해서

스탠드 사서 봉인(!) 해버리려는 용도로 구매


허브와 바퀴 타입 고민하다가

자덕 아재의 조언대로 바퀴타입으로 지름


근데.. 가격이 두배.. ㄷㄷㄷ

허브 타입은 4000원 정도 하는데 얘는 한 9천원 ㅠㅠ



Posted by 구차니
embeded/raspberry pi2016. 9. 5. 11:01

odroid u3도 한번 해봐야지..


$ sysbench --help

Usage:

  sysbench [general-options]... --test=<test-name> [test-options]... command


General options:

  --num-threads=N            number of threads to use [1]

  --max-requests=N           limit for total number of requests [10000]

  --max-time=N               limit for total execution time in seconds [0]

  --forced-shutdown=STRING   amount of time to wait after --max-time before forcing shutdown [off]

  --thread-stack-size=SIZE   size of stack per thread [32K]

  --init-rng=[on|off]        initialize random number generator [off]

  --test=STRING              test to run

  --debug=[on|off]           print more debugging info [off]

  --validate=[on|off]        perform validation checks where possible [off]

  --help=[on|off]            print help and exit

  --version=[on|off]         print version and exit


Compiled-in tests:

  fileio - File I/O test

  cpu - CPU performance test

  memory - Memory functions speed test

  threads - Threads subsystem performance test

  mutex - Mutex performance test

  oltp - OLTP test


Commands: prepare run cleanup help version


See 'sysbench --test=<name> help' for a list of options for each test. 


sysbench --test=fileio --file-total-size=1G prepare

sysbench 0.4.12:  multi-threaded system evaluation benchmark


128 files, 8192Kb each, 1024Mb total

Creating files for the test... 


8메가 짜리로 128개 생성하다 보니 시간이 좀 걸린다.

$ ls

Desktop        test_file.105  test_file.121  test_file.23  test_file.4   test_file.56  test_file.72  test_file.89

Documents      test_file.106  test_file.122  test_file.24  test_file.40  test_file.57  test_file.73  test_file.9

Downloads      test_file.107  test_file.123  test_file.25  test_file.41  test_file.58  test_file.74  test_file.90

Music          test_file.108  test_file.124  test_file.26  test_file.42  test_file.59  test_file.75  test_file.91

Pictures       test_file.109  test_file.125  test_file.27  test_file.43  test_file.6   test_file.76  test_file.92

Public         test_file.11   test_file.126  test_file.28  test_file.44  test_file.60  test_file.77  test_file.93

Templates      test_file.110  test_file.127  test_file.29  test_file.45  test_file.61  test_file.78  test_file.94

Videos         test_file.111  test_file.13   test_file.3   test_file.46  test_file.62  test_file.79  test_file.95

python_games   test_file.112  test_file.14   test_file.30  test_file.47  test_file.63  test_file.8   test_file.96

src            test_file.113  test_file.15   test_file.31  test_file.48  test_file.64  test_file.80  test_file.97

test_file.0    test_file.114  test_file.16   test_file.32  test_file.49  test_file.65  test_file.81  test_file.98

test_file.1    test_file.115  test_file.17   test_file.33  test_file.5   test_file.66  test_file.82  test_file.99

test_file.10   test_file.116  test_file.18   test_file.34  test_file.50  test_file.67  test_file.83

test_file.100  test_file.117  test_file.19   test_file.35  test_file.51  test_file.68  test_file.84

test_file.101  test_file.118  test_file.2    test_file.36  test_file.52  test_file.69  test_file.85

test_file.102  test_file.119  test_file.20   test_file.37  test_file.53  test_file.7   test_file.86

test_file.103  test_file.12   test_file.21   test_file.38  test_file.54  test_file.70  test_file.87

test_file.104  test_file.120  test_file.22   test_file.39  test_file.55  test_file.71  test_file.88 


테스트에 5분 제한을 걸고 하는건가...

$ sysbench --test=fileio --file-total-size=1G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run

sysbench 0.4.12:  multi-threaded system evaluation benchmark


Running the test with following options:

Number of threads: 1

Initializing random number generator from timer.



Extra file open flags: 0

128 files, 8Mb each

1Gb total file size

Block size 16Kb

Number of random requests for random IO: 0

Read/Write ratio for combined random IO test: 1.50

Periodic FSYNC enabled, calling fsync() each 100 requests.

Calling fsync() at the end of test, Enabled.

Using synchronous I/O mode

Doing random r/w test

Threads started!

Time limit exceeded, exiting...

Done.


Operations performed:  1320 Read, 880 Write, 2730 Other = 4930 Total

Read 20.625Mb  Written 13.75Mb  Total transferred 34.375Mb  (117.19Kb/sec)

    7.32 Requests/sec executed


Test execution summary:

    total time:                          300.3619s

    total number of events:              2200

    total time taken by event execution: 1.0915

    per-request statistics:

         min:                                  0.04ms

         avg:                                  0.50ms

         max:                                  4.20ms

         approx.  95 percentile:               1.93ms


Threads fairness:

    events (avg/stddev):           2200.0000/0.00

    execution time (avg/stddev):   1.0915/0.00 



Posted by 구차니
embeded/odroid2016. 9. 5. 09:28

아.. 웬지 눙물난다 흑흑 UHS-1 쓸수 있다 아싸 하면서 샀더니 흑흑 ㅠㅠ



SD High Capacity (SDHC™) card is an SD™ memory card based on the SDA 2.0 specification.

SDHC capacities range from 4GB to 32GB

Default Format: FAT32

[링크 : http://kb.sandisk.com//.../sd%2Fsdhc%2Fsdxc-specifications-and-compatibility]



exynos 4 시리즈는 2.0 이고 5 시리즈 부터 3.0 인 듯..

HS-MMC/SDIO Interface supports:

 Multimedia Card Protocol version 4.3 compatible (HS-MMC)

SD Memory Card Protocol version 2.0 compatible

 DMA based or interrupt based operation

 128 word FIFO for Tx/Rx

 Four ports HS-MMC or four ports SDIO

[링크 : http://www.samsung.com/.../Exynos_4_Quad_User_Manaul_Public_REV1.00-0.pdf]



+


음.. 일단 HS-MMC는 50MHz에 8bit로 구성한걸려나?

[링크 : http://www.samsung.com/.../Exynos_4_Quad_User_Manaul_Public_REV1.00-0.pdf]



그렇다면.. 벤치상으로는 초당 52MB/s 정도는 쓸 수 있다는 건가?

SDHC라서 초당 14MB/s 정도가 한계인데 확실히 여유가 생길 듯..

[링크 : http://read.pudn.com/.../hs_mmc_application_note_050111.pdf]


MMC0/1 8bit 이게무슨 의미일려나.. 



eMMC 39MB/s vs SDHC 15MB/s - oroid x2(exynos4412-u3와 동일 모델)

eMMC

SDHC

[링크 : http://forum.odroid.com/viewtopic.php?f=54&t=1152]


4.2나 4.3이나 속도 차이는 없는 52MB/s 이고

4.4가 되어야 DDR 지원하며 100MB/s를 찍는 듯

 For its specification, eMMC 4.2 defines the eMMC’s interface capacity (larger than 2GB) and speed (52MB/s); eMMC 4.3 provides new functions of Booting Function, Explicit Sleep Mode, Reliable Write, etc.; and the latest eMMC 4.4’s double data rate (DDR) is strengthened, which increases the original 52MB/s to 100MB/s

[링크 : http://www.zeroplus.com.tw/software_download/201207-eMMC_en.pdf]

'embeded > odroid' 카테고리의 다른 글

class 10 UHS-1 이라도 같은게 아닌가?  (0) 2016.09.05
odroid sysbench fileio  (0) 2016.09.05
odroid emmc sd 동시 사용하기  (0) 2016.09.05
odroid Win32DiskImager 별 속도 테스트  (0) 2016.09.04
odroid 시스템 정보 (/proc)  (0) 2016.09.03
Posted by 구차니
embeded/odroid2016. 9. 5. 06:59

비싸긴 한데.. 조만간 하나살 거 같은 기분..?


[링크 : http://forum.odroid.com/viewtopic.php?f=52&t=5054]




두개를 하나 채널에서 쓰는 줄 알았는데 exynos 4 메뉴얼 보니

sd / mmc / sdio 4개 채널 제공


Four SD/ SDIO/HS-MMC interface support

[링크 : http://www.samsung.com/.../Exynos_4_Quad_User_Manaul_Public_REV1.00-0.pdf]



U3 eMMC 부트로더 복구

[링크 : http://odroid.com/dokuwiki/doku.php?id=en:emmc_recovery_u3]

'embeded > odroid' 카테고리의 다른 글

odroid sysbench fileio  (0) 2016.09.05
odroid u3는 SDHC..  (0) 2016.09.05
odroid Win32DiskImager 별 속도 테스트  (0) 2016.09.04
odroid 시스템 정보 (/proc)  (0) 2016.09.03
odroid ready!  (0) 2016.09.03
Posted by 구차니
embeded/odroid2016. 9. 4. 23:11

음.. 그냥 odroid용 Win32DiskImager-odroid-v1.3 용을 쓰나

Win32DiskImager를 쓰나 별반 차이 없는듯


단지.. SD 메모리의 속도 문제일듯

한녀석은 10MB/s 정도로 써지고 간간히 2MB/s 로 떨어지는데

다른 녀석은 14MB/s 정도로 꾸준히 써지는데


확실히 부팅에 속도 차이가 발생하는 듯?


---


바꿔보고 테스트 해보는데.. SD 속도 차이가 영향을 주는게 낮는거 같기도 하고..


u3 1 + sd 1 느림 (1분 20초)

u3 2 + sd 2 빠름 (40초)


u3 1 + sd 2 빠름 (45초)

u3 2 + sd 1 느림 (40초~1분 20초)


일단 현재 까지 결론

굽는 툴은 문제가 아니고


셋트 하나가 좀 느리고

SD 하나가 무지 느린 듯?



----


아놔.. 갈수록 모르겠네 머가 문제야?!!?

그냥 단순하게(?) 라즈베리에 비해 최적화가 부족한걸로 생각해야 하려나

'embeded > odroid' 카테고리의 다른 글

odroid u3는 SDHC..  (0) 2016.09.05
odroid emmc sd 동시 사용하기  (0) 2016.09.05
odroid 시스템 정보 (/proc)  (0) 2016.09.03
odroid ready!  (0) 2016.09.03
오드로이드 이미지 마운트  (0) 2016.09.02
Posted by 구차니
Linux2016. 9. 4. 10:19

시스템 벤치마크용 툴

cpu / io / mysql  등으로 테스트 가능한 듯?


[링크 : https://www.howtoforge.com/how-to-benchmark-your-system-cpu-file-io-mysql-with-sysbench]]

[링크 : http://faq.hostway.co.kr/Linux_ETC/7162]


'Linux' 카테고리의 다른 글

구버전 사용시 호환(?)  (0) 2016.10.12
strip 된 so 파일의 symbol 보기  (0) 2016.09.21
grep --exclude-dir  (0) 2016.07.09
nptl - Native POSIX Threads Library  (0) 2016.06.27
cp -Lr  (0) 2016.06.14
Posted by 구차니