Linux2014. 11. 27. 10:06
HPET는 hpet로 표기되는게 아니라
constant_tsc나 nonstop_tsc 으로 표기 된다고 한다.

$ cat /proc/cpuinfo
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid

[링크 : http://www.chromium.org/chromium-os/how-tos-and-troubleshooting/tsc-resynchronization]  

'Linux' 카테고리의 다른 글

압축풀지 않고 tar 파일 용량 알아내기  (0) 2014.12.02
mbr , fdisk, partprobe?  (0) 2014.12.02
timezone  (0) 2014.11.21
dd 출력파일 자르지 않기  (0) 2014.11.20
linux kernel panic 자동복구  (0) 2014.11.13
Posted by 구차니
NTP - Network Time Protocol
PTP - Precision Time Protocol

NTP
As of June 2010, the current protocol is version 4 (NTPv4)
NTP is intended to synchronize all participating computers to within a few milliseconds of Coordinated Universal Time (UTC).[1]:3 It uses a modified version of Marzullo's algorithm to select accurate time servers and is designed to mitigate the effects of variable network latency. NTP can usually maintain time to within tens of milliseconds over the public Internet, and can achieve better than one millisecond accuracy in local area networks under ideal conditions. Asymmetric routes and network congestion can cause errors of 100 ms or more.

PTP
The Precision Time Protocol (PTP) is a protocol used to synchronize clocks throughout a computer network. On a local area network, it achieves clock accuracy in the sub-microsecond range, making it suitable for measurement and control systems.
IEEE 1588-2002
IEEE 1588-2008

[링크 : http://en.wikipedia.org/wiki/Network_Time_Protocol]
[링크 : http://en.wikipedia.org/wiki/Precision_Time_Protocol]


For example when ntpq -c rl prints precision=-16, the precision is about 15 microseconds (2^-16 s).
[링크 : http://www.ntp.org/ntpfaq/NTP-s-sw-clocks-quality.htm]
[링크 : http://linux.die.net/man/8/ntpq]
[링크 : http://linux.die.net/man/8/ntpdc]


Why is IEEE 1588 so accurate? Two words: Hardware timestamping.
In some cases the delay can be quite long, many microseconds, or even milliseconds
[링크 : http://blog.meinbergglobal.com/2013/09/14/ieee-1588-accurate/]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

MPEG4 HE-AAC 관련  (0) 2015.01.29
SBR - Spectral band replication  (0) 2015.01.23
네트워크 지연시간 설정 및 측정  (0) 2014.11.26
동기 비동기  (0) 2014.11.26
파이프 라인 / 슈퍼스칼라  (0) 2013.10.08
Posted by 구차니
die.net에는 없는 명령인거 같은데..
아무튼 짧은 레이턴시를 길게 일정길이로 늘려줄수는 있으나
작게 잡아지진 않는 것 같고..

tc qdisk add dev eth0 root netem delay 100ms
tc qdisk del dev eth0 root netem delay 100ms
[링크 : http://monovision.tistory.com/5]
[링크 : http://linux.die.net/man/8/tc]

레이턴시는 sockperf라는 유틸을 이용해서 잴 수 있다고 한다.

[링크 : http://www.smallake.kr/?p=2246]
[링크 : https://code.google.com/p/sockperf/]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

SBR - Spectral band replication  (0) 2015.01.23
ntp / ptp  (0) 2014.11.26
동기 비동기  (0) 2014.11.26
파이프 라인 / 슈퍼스칼라  (0) 2013.10.08
VLIW - Very Long Instruction Word  (0) 2013.10.08
Posted by 구차니
Linux API/alsa2014. 11. 26. 21:37

'Linux API > alsa' 카테고리의 다른 글

alsa 예제  (0) 2024.06.04
alsa 구조  (0) 2015.05.29
alsa async  (0) 2014.11.26
alsa debug function  (0) 2014.11.18
ALSA 드라이버 관련  (0) 2014.11.17
Posted by 구차니
Linux API/alsa2014. 11. 26. 21:32
ALSA에서도 비동기 처리가 가능하다는데.
polling을 쓰라는거 보면 무언가 좀 unsafe 한 부분이 있나 보다 싶긴한데..
공식 문서를 찾아볼 필요가 있을 듯.

[링크 : http://alsa.opensrc.org/HowTo_Asynchronous_Playback]
 

'Linux API > alsa' 카테고리의 다른 글

alsa 구조  (0) 2015.05.29
alsa timestamp  (0) 2014.11.26
alsa debug function  (0) 2014.11.18
ALSA 드라이버 관련  (0) 2014.11.17
alsa 함수 - size / time  (0) 2014.11.17
Posted by 구차니
동기 비동기는
블러킹과 넌블러킹으로 구현이 되는 상태라고 해야하나?

동기는 서로의 동기를 맞추어 딱딱 주고 받고(물론 서버가 안주면 클라이언트는 무한 대기)
비동기는 안주면 기다리지 않고 다른걸 하다 핸들러를 통하거나 다음번에 받아서 처리하는 식이라고 해석해야하나?

통신에서의 동기는 동기화된 클럭에 맞추어 start / end 없이 전송하는 것이고
비동기는 신호가 없다가 start 신호가 오면 wait 타임을 거쳐 동기를 맞추고 주고 받는 방식 인 듯.

[링크 : http://nsinc.tistory.com/108]
[링크 : http://recipes.egloos.com/viewer/5126390]
[링크 : http://linuxism.tistory.com/757]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

ntp / ptp  (0) 2014.11.26
네트워크 지연시간 설정 및 측정  (0) 2014.11.26
파이프 라인 / 슈퍼스칼라  (0) 2013.10.08
VLIW - Very Long Instruction Word  (0) 2013.10.08
펜타일(Pentile) 방식 디스플레이  (2) 2011.10.15
Posted by 구차니
아래 링크에서 ipsw를 받고
[링크 : http://www.ipswdownloader.com/]

itune에서

복원하기 버튼을 쉬프트 클릭해서 ipsw를 선택하면 된다는데..


[링크 : http://osnews.kr/858]
[링크 : http://support.apple.com/ko-kr/ts4451]
[링크 : http://dj153.egloos.com/viewer/2875486]

(2014년 9월 29일) 업데이트 : 9월 27일부터 iOS 7.1.2에 대한 '서명'이 중단되어 위의 방법으로는 iOS 7으로 복원이 불가능함. 
[링크 : http://www.itworld.co.kr/news/89665]


아아 망했어요 ㅠㅠ 
Posted by 구차니
회사일2014. 11. 24. 18:36
freescale지원으로 개발되다 독립했는데..
일단 기본 컨셉은
커널 / busybox / rootfs / 3rd-party util 을 한번에 빌드해서
nfs에 붙이거나 버닝하도록 하는 툴인데...

그렇게 쓰는데가 더 적은듯?

[링크 : http://en.m.wikipedia.org/wiki/LTIB]
[링크 : http://ltib.org]

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

SDI 12G ... 6G  (0) 2015.05.18
HD-AHD / HD-TVI / HD-CVI / EX-SDI  (0) 2015.04.16
FSL - Freescale Semiconductor, Ltd.  (0) 2014.11.18
pulseaudio / jack / sound server  (0) 2014.11.16
ADAT - Alesis Digital Audio Tape  (0) 2014.11.03
Posted by 구차니
프로그램 사용/apache2014. 11. 24. 16:37
Ubuntu 14.10 LTS ? 같은데

기본설정상 우분투에서 아파치의 htdocs는 /var/www 이지만
이 녀석을 다른 곳에서 사용하기 위해서는 다른 파일을 수정해야 한다.

/etc/apache2/apache2.conf <<
/etc/apache2/sites-enabled/000-default


기존의 2.2.22 (10.04 LTS) 에서는 site-enabled/000-default에 설정하면 되었으나
2.4.7 부터는 설정이 바뀌어서 apache2.conf 에서
허용되는 경로 부터 바꾸어 주어야 하는 듯 하다.

아래는 index.html의 도움말. 역시 써놓은건 잘 읽어야해 -_-

Document Roots

By default, Ubuntu does not allow access through the web browser to any file apart of those located in/var/wwwpublic_html directories (when enabled) and /usr/share (for web applications). If your site is using a web document root located elsewhere (such as in /srv) you may need to whitelist your document root directory in /etc/apache2/apache2.conf.

The default Ubuntu document root is /var/www/html. You can make your own virtual hosts under /var/www. This is different to previous releases which provides better security out of the box. 
Posted by 구차니
embeded2014. 11. 24. 14:26
litb나 freebsd 계열에만 적용되는건지 모르겠지만
아무튼! 부팅시나 종료시에 수행할 프로그램이나 데몬에 대해서 설정이 가능하고

cfg_service는 부팅시
cfg_service_r은 종료시 구동되는 프로세스들을 나열한다

[링크 : http://www.nxmnpg.com/ko/5/rc.conf]
[링크 : https://www.freebsd.org/cgi/man.cgi?rc.conf(5)]
[링크 : http://www.bitshrine.org/autodocs/LtibFaq.html]

'embeded' 카테고리의 다른 글

S29AL016J 플래시 메모리 BYTE/WORD MODE  (0) 2014.12.23
mmu와 rtos  (0) 2014.12.10
Z80 M6800  (0) 2014.01.27
기즈모 스피어 / 라즈베리 파이  (0) 2014.01.02
USB2LPT for JTAG  (0) 2013.06.21
Posted by 구차니