embeded/odroid2016. 9. 12. 15:07

개인적으로는

performance가 가장 좋고(당연한가?)

conservative가 부담이 적고 (클럭 다운되지만 빠르게 오르는지 버벅대는 느낌이 적음)

ondemand는 느린 느낌이고

나머지 가버너는 목록에 안떠서.. 나중에 실험을 해봐야 할 듯.



1. Ondemand


이건 다들 알거라 생각합니다. 이가버저의 특징은 수요에 따라 클럭을 조절한다는거죠.수요가 높으면 클럭을 올리고 수요가 낮으면

클럭을 낮추고 이렇기 때문에 베터리 효율도 높고 성능도 무난하게 뽑아줘서 안드로이드 대부분의 기기의 기본 가버너로 설정되어있습니다.(갤넥같은경우 인터렉티브가 기본이더군요;;) 이 가버너는 xda에서 유명한 커널중 하나인 트리니티 커널에서도의 기본가버너로 설정되어있다고 하네요.


8. Pegasusq


ondemand기반으로 만들어진 가버너입니다. 그런데 이 가버너는 특이하게 클럭조절을 

중간클럭까지 골고루 섞어쓰기떄문에

저랑 한분이 한때 ondemand랑 interactive 이두개를놓고 서로 이기반이라 토론을 한적도 있습니다.

하지만 중간클럭을 쓰는건 ondemand에다가 hotplug를 섞었기 때문이라고 합니다. 

이 가버너가 생성된 배경은 코어가 4개나되는 쿼드코어 엑시노스를 풀가동 동기식으로했다간 폰베터리를 사살하는거밖에 안된다고 생각이든 삼성이 비동기식의 성질을 띄는hotplug를 섞어서 반비동기식형태로 제작하였습니다. 그래서 퍼포먼스와 배터리를 둘다잡은 가버너라 할수있지요. 그래서 요즘 대부분 커스텀 커널에는 듀얼코어용 pegasusq가버너를 추가하는 추세입니다.

하지만 엄연히 비동기식하고 틀립니다. 

참고로 이런성질때문에 싱글코어에서는 이가버너가

ondemand랑 똑같은 가버너가 되버리니 싱코에선 굳이 이 가버너를 채택할 필요는 없어보입니다.


11. Hotplug


이 가버너는 ondemand가버너와 매우 흡사한 가버너라고 합니다. 이 가버너 역시 또한 클럭수 요구에 따락 클럭을 올리고 내리고 한답니다. 하지만 다른가버너와 확연히 차이아는 차이점이있다면 바로 cpu부하가 매우적을때 (예로들어 대기모드일때) cpu하나를 꺼버린다고 합니다.

그래서 베터리를 아깐다고 하네요.


17. Conservative

이 가버너는 최대한 가능하면 저클럭에 머물려하고 하는 특징이 있다고 합니다. 다르게 표현을 하면 cpu가 클럭을 올리려면 계속 cpu에 부하를 줘야한다네요. 그리고 최소클럭을 사용자가 지정해줄경우 퍼포먼스가 떨어질 수 있다네요. 반대로 최소클럭을 내리면 베터리에는 좋다고 합니다.  


[링크 : http://sonjuhy.tistory.com/entry/가버너에-따른설명]


코드명은 'Pegasus'

여담으로 삼성전자는 쿼드코어 구성이 많다고 생각 하였는지, Ondemand 와 Hot-plug 기반의 가버너를 섞어서 퀄컴의 Qualcomm Krait 시리즈같이 비동기식 비슷하게 작동할 수 있게 하는 Pegasusq 라는 신종 가버너를 만들어 지원했다

[링크 : https://namu.wiki/w/삼성%20엑시노스?from=엑시노스#s-2.1.2.3]



cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009

Report errors and bugs to cpufreq@vger.kernel.org, please.

analyzing CPU 0:

  driver: exynos_cpufreq

  CPUs which run at the same hardware frequency: 0

  CPUs which need to have their frequency coordinated by software: 0

  maximum transition latency: 11.0 us.

  hardware limits: 200 MHz - 2.00 GHz

  available frequency steps: 2.00 GHz, 1.92 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 80z

  available cpufreq governors: userspace, powersave, conservative, ondemand, performance

  current policy: frequency should be within 200 MHz and 1.60 GHz.

                  The governor "ondemand" may decide which speed to use

                  within this range.

  current CPU frequency is 200 MHz (asserted by call to hardware).

  cpufreq stats: 2.00 GHz:0.00%, 1.92 GHz:0.00%, 1.80 GHz:0.00%, 1.70 GHz:0.00%, 1.60 GHz:99.54%, 1.50 GHz:0.00%, 1.40 GHz:0.00%, 1.30 GHz:0.00%, 1.20) 


[링크 : http://odroid.us/mediawiki/index.php?title=Use_cpufrequtils_to_Adjust_Processor_Settings]

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

odoroid 지름... 예정?  (0) 2016.10.03
odroid u3 전력소모량 체크  (0) 2016.10.01
odroid u3 kernel build  (0) 2016.09.11
odroid cpufrequtils를 이용한 클럭 조절  (0) 2016.09.11
odroid mac address의 신비  (0) 2016.09.10
Posted by 구차니
개소리 왈왈/블로그2016. 9. 12. 10:02

우비 사용중인데 이렇게 하면 되려나?



[링크 : http://notice.tistory.com/2341]



댓글들이라던가 보면 RFC 표준에 어긋나는 행위라는데


티스토리 관리 편의를 위해 이렇게 한다고는 하지만

다르게 보면 조만간 dns 아이피 바꿀꺼고

앞으로도 DNS 서버 아이피가 바뀔수도 있으니 날 따라오셈 이라는 느낌


갈수록 서비스가 불안정하고 신뢰할수 없다는 느낌이 드는데

서버 축소를 하면서 아이피 대역 관리를 위해(즉, 서버 빼고 축소하기도 용이하다는 의미?)

미리 기름 칠해 두는 기분..

Posted by 구차니
embeded/odroid2016. 9. 11. 17:23
한번 빌드 해봐야지
하는김에 distcc + wins resolve 해서 시도

[링크 : https://github.com/hardkernel/linux]

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

odroid u3 전력소모량 체크  (0) 2016.10.01
odroid 가버너 관련  (0) 2016.09.12
odroid cpufrequtils를 이용한 클럭 조절  (0) 2016.09.11
odroid mac address의 신비  (0) 2016.09.10
odroid u3 governor  (0) 2016.09.09
Posted by 구차니
embeded/odroid2016. 9. 11. 07:52

특이하게도..(?)

cpu 갯수도 줄어든다??!


performance 1700 MHz / 4 core

powersave 200 MHz / 2 core

ondemand 200-1700 MHz / 2 core (바로바로 떨어지는 듯?)

conservative 200-1700MHz / 2 core (좀 클럭이 높게 유지) 



$ sudo apt-cache search cpufreq

collectd-core - statistics collection and monitoring daemon (core system)

cpufreqd - fully configurable daemon for dynamic frequency and voltage scaling

gkrellm-cpufreq - CPU frequency plugin for GKrellM

gnome-applets - Various applets for the GNOME panel - binary files

indicator-cpufreq - CPU frequency scaling indicator

libcpufreq-dev - development files to deal with the cpufreq Linux kernel feature

libcpufreq0 - shared library to deal with the cpufreq Linux kernel feature

xfce4-cpufreq-plugin - cpufreq information plugin for the Xfce4 panel

xfce4-goodies - enhancements for the Xfce4 Desktop Environment

cpufrequtils - cpufreq 리눅스 커널 기능을 처리하는 유틸리티

awn-applet-cpufreq - Monitors and controls the CPU frequency for Awn

odroid@odroid_2:/etc/default$ sudo apt-get install cpufrequtils

패키지 목록을 읽는 중입니다... 완료

의존성 트리를 만드는 중입니다       

상태 정보를 읽는 중입니다... 완료

다음 패키지를 더 설치할 것입니다:

  libcpufreq0

다음 *새로운* 패키지들을 설치:

  cpufrequtils libcpufreq0

0개 업그레이드, 2개 새로 설치, 0개 제거, 1개 업그레이드 안 함.

47.7 k바이트 아카이브를 받아야 합니다.

이 작업 후 280 k바이트의 디스크 공간을 더 사용하게 됩니다.

Do you want to continue? [Y/n] 

받기:1 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe libcpufreq0 armhf 008-1 [11.2 kB]

받기:2 http://ports.ubuntu.com/ubuntu-ports/ trusty/universe cpufrequtils armhf 008-1 [36.5 kB]

1초에 47.7 kB 받음 (38.0 kB/s)          

패키지를 미리 설정하는 중입니다...

Selecting previously unselected package libcpufreq0.

(데이터베이스 읽는중 ... 현재 198751개의 파일과 디렉터리가 설치되어 있습니다.)

Preparing to unpack .../libcpufreq0_008-1_armhf.deb ...

Unpacking libcpufreq0 (008-1) ...

Selecting previously unselected package cpufrequtils.

Preparing to unpack .../cpufrequtils_008-1_armhf.deb ...

Unpacking cpufrequtils (008-1) ...

Processing triggers for man-db (2.6.7.1-1ubuntu1) ...

libcpufreq0 (008-1) 설정하는 중입니다 ...

cpufrequtils (008-1) 설정하는 중입니다 ...

 * Loading cpufreq kernel modules...                                     [ OK ] 

 * CPUFreq Utilities: Setting ondemand CPUFreq governor...                       * CPU0...                                                                       * CPU1...                                                                       * CPU2...                                                                       * CPU3...                                                               [ OK ] 

Processing triggers for libc-bin (2.19-0ubuntu6.9) ...


$ cpufreq-info 

cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009

Report errors and bugs to cpufreq@vger.kernel.org, please.

analyzing CPU 0:

  driver: exynos_cpufreq

  CPUs which run at the same hardware frequency: 0 1

  CPUs which need to have their frequency coordinated by software: 0 1

  maximum transition latency: 100.0 us.

  hardware limits: 200 MHz - 2.00 GHz

  available cpufreq governors: ondemand, conservative, userspace, powersave, performance

  current policy: frequency should be within 200 MHz and 1.70 GHz.

                  The governor "ondemand" may decide which speed to use

                  within this range.

  current CPU frequency is 200 MHz.

  cpufreq stats: 2.00 GHz:0.00%, 1.92 GHz:0.00%, 1.80 GHz:0.00%, 1.70 GHz:99.06%, 1.60 GHz:0.00%, 1.50 GHz:0.01%, 1.40 GHz:0.02%, 1.30 GHz:0.00%, 1.20 GHz:0.00%, 1.10 GHz:0.02%, 1000 MHz:0.02%, 900 MHz:0.00%, 800 MHz:0.01%, 700 MHz:0.00%, 600 MHz:0.01%, 500 MHz:0.02%, 400 MHz:0.01%, 300 MHz:0.02%, 200 MHz:0.82%  (30)

analyzing CPU 1:

  driver: exynos_cpufreq

  CPUs which run at the same hardware frequency: 0 1

  CPUs which need to have their frequency coordinated by software: 0 1

  maximum transition latency: 100.0 us.

  hardware limits: 200 MHz - 2.00 GHz

  available cpufreq governors: ondemand, conservative, userspace, powersave, performance

  current policy: frequency should be within 200 MHz and 1.70 GHz.

                  The governor "ondemand" may decide which speed to use

                  within this range.

  current CPU frequency is 200 MHz.

  cpufreq stats: 2.00 GHz:0.00%, 1.92 GHz:0.00%, 1.80 GHz:0.00%, 1.70 GHz:99.06%, 1.60 GHz:0.00%, 1.50 GHz:0.01%, 1.40 GHz:0.02%, 1.30 GHz:0.00%, 1.20 GHz:0.00%, 1.10 GHz:0.02%, 1000 MHz:0.02%, 900 MHz:0.00%, 800 MHz:0.01%, 700 MHz:0.00%, 600 MHz:0.01%, 500 MHz:0.02%, 400 MHz:0.01%, 300 MHz:0.02%, 200 MHz:0.82%  (30)

odroid@odroid_2:/etc/default$ cpufreq-set

At least one parameter out of -f/--freq, -d/--min, -u/--max, and

-g/--governor must be passed

odroid@odroid_2:/etc/default$ cpufreq-set -f 900000000

Error setting new values. Common errors:

- Do you have proper administration rights? (super-user?)

- Is the governor you requested available and modprobed?

- Trying to set an invalid policy?

- Trying to set a specific frequency, but userspace governor is not available,

   for example because of hardware which cannot be set to a specific frequency

   or because the userspace governor isn't loaded?


$ sudo cpufreq-set -g ondemand 


min / max 값 조절없이 그냥 쓰기에는 performance가 가장 무난하고..

conservative는 조금 쓰면서 테스트 해봐야겠다.


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

odroid 가버너 관련  (0) 2016.09.12
odroid u3 kernel build  (0) 2016.09.11
odroid mac address의 신비  (0) 2016.09.10
odroid u3 governor  (0) 2016.09.09
odroid exynos driver 검색중  (0) 2016.09.09
Posted by 구차니

패키지 설치하고 wins 추가하면 끝 ㄷ ㄷ ㄷ

이렇게 쉬운걸 안하고 왜 살았지? ㅠㅠ


$  sudo apt-get install libnss-winbind

$  sudo vi /etc/nsswitch.conf 

hosts:          files mdns4_minimal [NOTFOUND=return] dns wins



[링크 : http://askubuntu.com/questions/507649/ubuntu-can-not-ping-host-name-but-can-ping-ip]


+

2016.12.20

14.04 이후부터 추가된 패키지 인 듯

[링크 : http://packages.ubuntu.com/search?keywords=libnss-winbind]

Posted by 구차니
embeded/odroid2016. 9. 10. 20:27

odroid u3를 두대 쓰고 있는데

ssh가 이상하게 자꾸 팅겨서 확인을 해보니

두개가 동일한 아이피... -_-??!?


그래서 공유기에서 확인을 해보니 odroid_1 odroid_2 두개가 떠야 하는데 하나만 있어서

HDMI / USB 키보드 / USB 마우스 연결해서 확인해보니


두대가 MAC이 동일하다 -_-!!

이런 개떡 같은 일이 -_-


라즈베리는 시리얼을 이용해서 맥을 생성하는데

오드로이드는 랜덤 생성이거나 특정 파일의 내용을 맥으로 고정해서 써서 그런듯


$ sudo vi /etc/smsc95xx_mac_addr 

[링크 : http://jang574.tistory.com/entry/ODROIDX-MAC-address]

[링크 : http://skylit.tistory.com/74]


아무래도.. 둘다 동일한 이미지로 굽다 보니 맥도 동일.. 그러니까 처음 할당 받은 놈에게서 동일한 아이피 할당

충돌로 인해서 ssh 불안정.. 머 이따구야!?!?


대충 찾아봐도 할당된 적이 없는 MAC OUI 같은데.. 쩝..

[링크 : http://aruljohn.com/mac.pl]

[링크 : http://standards-oui.ieee.org/oui.txt]

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

odroid u3 kernel build  (0) 2016.09.11
odroid cpufrequtils를 이용한 클럭 조절  (0) 2016.09.11
odroid u3 governor  (0) 2016.09.09
odroid exynos driver 검색중  (0) 2016.09.09
odroid blender 실행불가  (0) 2016.09.09
Posted by 구차니
embeded/odroid2016. 9. 9. 22:55

cpu 클럭 좀 낮춰서 전원소비 테스트 라던가

io 병목 완화를 위해 성능을 낮추려고 했더니 안되네?!?!?



$ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

performance  


성능이 좋은건 좋은데.. 어떻게 최고성능 하나만 넣어 줄수가 있지?

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

odroid cpufrequtils를 이용한 클럭 조절  (0) 2016.09.11
odroid mac address의 신비  (0) 2016.09.10
odroid exynos driver 검색중  (0) 2016.09.09
odroid blender 실행불가  (0) 2016.09.09
odroid u2 크롬이 느리네..(창 그리기)  (0) 2016.09.07
Posted by 구차니
embeded/odroid2016. 9. 9. 20:35

멀하던... glxgears에서 exynos_dri.so 에러는 사라지지 않고

blender도 실행이 안되네 ㅠㅠ


/etc/X11/xorg.conf.d/exynos.conf

/lib/udev/rules.d/40-xserver-xorg-video-armsoc-exynos.rules

/usr/lib/xorg/modules/drivers/armsoc_drv.so

/usr/share/doc/xserver-xorg-video-armsoc-exynos/changelog.Debian.gz

/usr/share/doc/xserver-xorg-video-armsoc-exynos/copyright

/usr/share/man/man4/armsoc.4.gz 

[링크 : http://packages.ubuntu.com/trusty/armhf/xserver-xorg-video-armsoc-exynos/filelist]



apt-get install xorg-video-abi-18

apt-get install  xserver-xorg-video-armsoc xserver-xorg-video-armsoc-exynos

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


$ sudo apt-cache search exynos

linux-exynos5 - Complete Generic Linux kernel and headers

linux-exynos5-tools-3.13.0-3 - Linux kernel version specific tools for version 3.13.0-3

linux-exynos5-tools-common - Linux kernel version specific tools for version 3.13.0

linux-headers-3.13.0-3-exynos5 - Linux kernel headers for version 3.13.0 on ARM (hard float) SMP

linux-headers-exynos5 - Generic Linux kernel headers

linux-image-3.13.0-3-exynos5 - Linux kernel image for version 3.13.0 on ARM (hard float) SMP

linux-image-exynos5 - Generic Linux kernel image

linux-tools-3.13.0-3-exynos5 - Linux kernel version specific tools for version 3.13.0-3

linux-tools-exynos5 - Generic Linux kernel tools

xserver-xorg-video-armsoc - X.Org X server -- ARM SoC display driver (transitional package)

xserver-xorg-video-armsoc-exynos - X.Org X server -- ARM SoC display driver for Exynos DRM

xserver-xorg-video-armsoc-exynos-dbg - X.Org X server -- ARM SoC display driver (debug symbols)

xserver-xorg-video-armsoc-pl111 - X.Org X server -- ARM SoC display driver for pl111 DRM

xserver-xorg-video-armsoc-pl111-dbg - X.Org X server -- ARM SoC display driver (debug symbols)

libdrm-exynos1 - Userspace interface to exynos-specific kernel DRM services -- runtime

libdrm-exynos1-dbg - Userspace interface to exynos-specific kernel DRM services -- debugging symbols

linux-exynos5-tools-3.13.0-5 - Linux kernel version specific tools for version 3.13.0-5

linux-headers-3.13.0-5-exynos5 - Linux kernel headers for version 3.13.0 on ARM (hard float) SMP

linux-image-3.13.0-5-exynos5 - Linux kernel image for version 3.13.0 on ARM (hard float) SMP

linux-tools-3.13.0-5-exynos5 - Linux kernel version specific tools for version 3.13.0-5

libcec - libcec-git with Exynos support 


$ sudo apt-file search exynos | grep "\.so"

libdrm-dev: /usr/lib/arm-linux-gnueabihf/libdrm_exynos.so

libdrm-exynos1: /usr/lib/arm-linux-gnueabihf/libdrm_exynos.so.1

libdrm-exynos1: /usr/lib/arm-linux-gnueabihf/libdrm_exynos.so.1.0.0

linux-headers-3.13.0-3-exynos5: /usr/src/linux-headers-3.13.0-3-exynos5/arch/metag/Kconfig.soc

linux-headers-3.13.0-3-exynos5: /usr/src/linux-headers-3.13.0-3-exynos5/scripts/.sortextable.cmd

linux-headers-3.13.0-5-exynos5: /usr/src/linux-headers-3.13.0-5-exynos5/arch/metag/Kconfig.soc

linux-headers-3.13.0-5-exynos5: /usr/src/linux-headers-3.13.0-5-exynos5/scripts/.sortextable.cmd 



[링크 : http://packages.ubuntu.com/trusty/x11/xserver-xorg-video-armsoc-exynos]



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

odroid mac address의 신비  (0) 2016.09.10
odroid u3 governor  (0) 2016.09.09
odroid blender 실행불가  (0) 2016.09.09
odroid u2 크롬이 느리네..(창 그리기)  (0) 2016.09.07
odroid u3 한글 입력  (0) 2016.09.06
Posted by 구차니
Linux/Ubuntu2016. 9. 9. 20:31

lxde 라고 별건 없고 그냥

시스템 쪽에 업데이트 실행해서 독점 드라이버 탭에서 하면되는데

안뜨네...


[링크 : http://askubuntu.com/questions/197110/enable-drivers-on-lubuntu]

Posted by 구차니
회사일2016. 9. 9. 15:10

5C 이런건 케이블 굵기고(정확하게는 안에 데이터가 지나는 선의 굵기)


5C-HFBT (3중 차폐)

     High density polyethylene Foamed Braided Tri-shielded cable

5C-2V / ECX

     polyEthylene insulated CoaXial Cable


[링크 : http://www.koroad.or.kr/...?board_code=GABBS_110&board_num=120240&file_num=160164]

[링크 : http://www.bye21.co.kr/bye21/cable_ecx00.htm]

[링크 : http://slidegur.com/doc/13267/...-fbt-hfbt--%EB%B9%84%EA%B5%90]

'회사일' 카테고리의 다른 글

sdi bt.1120  (0) 2016.12.07
ldo - linear drop out  (0) 2016.12.07
심심해서 만들어 보는.. 캡쳐 스크립트  (0) 2016.07.27
APNR 카메라  (0) 2016.05.18
lwip + freeRTOS  (0) 2015.12.09
Posted by 구차니