'이론 관련'에 해당되는 글 354건

  1. 2026.05.06 NCHW, NHWC
  2. 2026.04.27 xgboost, CALCE
  3. 2026.04.23 품질 관리 체크리스트 - p0 p1 p2 p3?
  4. 2026.04.22 CPO - Co Packaged Optics
  5. 2026.04.20 asus 메인보드 에러코드(q code)와 부팅절차
  6. 2026.04.13 쿼터니안
  7. 2026.03.24 intel hex 포맷
  8. 2026.03.17 uart 9bit multidrop
  9. 2026.03.17 sd 카드 spi 모드 관련 조사
  10. 2026.03.13 DHCP option

N - Number of image size in batch size

H - Height of image

W - Width of image

C- number of Channel of the image

 

NCHW는 Channel First (red channel image + blue ...)

NHWC는 Channel Last (rgb pixel image)

 

[링크 : https://intel.github.io/intel-extension-for-pytorch/cpu/latest/tutorials/features/nhwc.html]

 

어떻게 보면 레이어 별로 처리하게 하는게 유리할수도 있을 것 같기도 한데 서로 tradeoff가 존재할 것 같다.

 

NCHW - (64,3,512,512)

NHWC - (64,512,512,3)

[링크 : https://medium.com/@gonchogo/nhwc-vs-nchw-1504d2621b5e]

 

GPU - NCHW

CPU - NHWC

tensorRT는 NHWC에서 최고의 효율

[링크 : https://seungwoo-dev.tistory.com/6]

Posted by 구차니
이론 관련/전기 전자2026. 4. 27. 12:35

 

 

XGBoost is an optimized distributed gradient boosting library designed to be highly efficient, flexible and portable. It implements machine learning algorithms under the Gradient Boosting framework. XGBoost provides a parallel tree boosting (also known as GBDT, GBM) that solve many data science problems in a fast and accurate way. The same code runs on major distributed environment (Kubernetes, Hadoop, SGE, Dask, Spark, PySpark) and can solve problems beyond billions of examples.

[링크 : https://github.com/dmlc/xgboost]

 

[링크 : https://monawa.tistory.com/28]

[링크 : https://xgboost.readthedocs.io/en/stable/tutorials/param_tuning.html]

[링크 : https://www.kaggle.com/code/lifesailor/xgboost]

 

 

+

[링크 : https://calce.umd.edu/battery-data]

 

+

grid search cv

[링크 : https://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GridSearchCV.html]

[링크 : https://day-to-day.tistory.com/33]

[링크 : https://velog.io/@hyunicecream/GridSearchCV란-어떻게-사용할까]

[링크 : https://wikidocs.net/87220]

'이론 관련 > 전기 전자' 카테고리의 다른 글

CPO - Co Packaged Optics  (0) 2026.04.22
엔코더 파형  (0) 2026.01.12
엔코더 채터링?  (0) 2026.01.11
쇼트키 다이오드  (0) 2025.11.24
엔코더 관련글  (0) 2025.10.28
Posted by 구차니

정적분석에서 먼가 이상한(?) 단어가 나와서 찾아보는데

정석분석은 아니고

품질관리 관련 체크리스트 레벨인듯.

 

[링크 : https://wikidocs.net/322755]

[링크 : https://clickup.com/ko/blog/192214/p1-p2-p3-p4-priority]

[링크 : https://rupijun.tistory.com/entry/테스트-종료-기준-Test-Exit-Criteria-객관적-완료-판단-체계]

[링크 : https://brunch.co.kr/@jamescompany/213]

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

NCHW, NHWC  (0) 2026.05.06
asus 메인보드 에러코드(q code)와 부팅절차  (0) 2026.04.20
intel hex 포맷  (0) 2026.03.24
sd 카드 spi 모드 관련 조사  (0) 2026.03.17
cpuz 와 메모리 타이밍  (0) 2026.01.27
Posted by 구차니
이론 관련/전기 전자2026. 4. 22. 22:02

요즘 핫하다는 녀석

간단하게.. 회로가 가늘어 지니 누설전류 등으로 인해

고속 통신이 점점 힘들어 지고, 다채널로 전송하다 보니 전송에 많은 전기가 소모된다.

그러니까 더 초고속의 전송기술로(그러니까 광) ser/des 해서 보내고 받으면

총 전기 소모량이 줄어든다라는걸 기반으로

반도체 내부에서 여러단계 거치지 않고 반도체 안에서 바로 빛을 쏴서 보내버리는 그런걸 CPO 라고 하는 듯.

 

800G 광 트랜시버 하나 14~18W * 64 port = 900W 이상 소비 하는데 이걸 절반 이상 줄이면

데이터 센터 레벨에서는 생각외로 어마어마한 소비전력 감소가 발생할 수 있다.. 정도?

[링크 : https://m.blog.naver.com/ghdtjr1212/224218882918]

[링크 : https://www.thelec.kr/news/articleView.html?idxno=40022]

[링크 : https://contents.premium.naver.com/usa/nasdaq/contents/250710100630857do]

 

칩과 칩 간에 통신을 전기가 아닌 빛으로 하는 것이고

프로세서 자체가 광으로 바뀌는건 아님(!)

그리고 궁극적으로는 메모리 - xPU 들 간의 switch fabric 까지 구성해서

더 빠르고 전력 효율적인 고성능 통신구조를 만드는게 목적으로 보인다.

 

일단은.. 장거리 전송이 아니니까 고출력일 필요도 없고,

이동거리가 짧으니 굳이 레이저가 아니어도 충분한 출력만 나면 상관없을 것 같기도 하고

다만, 이런 고속 데이터 전송을 위해 HBM은 더 많이 사용될 가능성이 있다는게 함정이구만

 

 

vertical-cavity surface-emitting lasers (VCSELs) 표면방출레이저

아래처럼 SOI(Silicon on Insulator) 웨이퍼를 사용하면 1~3dB 정도 기본적으로 손실이 생긴다고

그 와중에 가장큰 문제(?)는 반도체 잘 만들어도 광접속 인터포저 불량이면 통채로 날리고

얘가 불량나도 광학 네트워크 칩 전체를 버려야 하고

이래저래 비용문제가 제법 클녀석이라, 전세계적으로 해보려고 하고는 있지만 어떨런지..

 

[링크 : https://ettrends.etri.re.kr/ettrends/215/0905215012/박상기%20최종.pdf]

'이론 관련 > 전기 전자' 카테고리의 다른 글

xgboost, CALCE  (0) 2026.04.27
엔코더 파형  (0) 2026.01.12
엔코더 채터링?  (0) 2026.01.11
쇼트키 다이오드  (0) 2025.11.24
엔코더 관련글  (0) 2025.10.28
Posted by 구차니

이럴 땐 AI가 짱이구만(검증하려고 찾으려면 어우...)

 

부팅 순서

SEC (Security Phase)

PEI (Pre-EFI Initialization)

DXE (Driver Execution Environment)

BDS (Boot Device Selection)

[링크 : https://chatgpt.com/share/69e5bbfb-e140-83e8-81fb-9ef5439c131f]

 

에러 코드가 부팅 순서대로 라면.. SEC / PEI / DXE / BDS 순서로 나오는게 맞다.. 고 해야하나?

아무튼 주로 걸리는데 67 / 69 혹은 b7 / b9 인데 System Agent DXE 초기화 단계 뻗느것 같다.

내용으로는 PEI는 단순하게 메모리 컨트롤러 설정이라면

DXE 쪽에서는 실제로 메모리로 데이터를 올려서 부팅을 진행하거나 채널 설정등을 실제로 하는 것 같은데

그래서 어떻게 보면 메모리와 1도 관련없는 메시지이지만 실제로 메모리 문제로 발생하는 것으로 보이는 것 같다.

[링크 : https://www.asus.com/kr/motherboards-components/motherboards/workstation/z10ped16_ws/]

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

NCHW, NHWC  (0) 2026.05.06
품질 관리 체크리스트 - p0 p1 p2 p3?  (0) 2026.04.23
intel hex 포맷  (0) 2026.03.24
sd 카드 spi 모드 관련 조사  (0) 2026.03.17
cpuz 와 메모리 타이밍  (0) 2026.01.27
Posted by 구차니
이론 관련/수학 관련2026. 4. 13. 15:19

아는 분과 수다 떨다가 포르자 호라이즌 텔레메트리 정보에서 방향각 관련 변환 이야기 하다 얻은 키워드.

짐벌락 이야기 나오는거 보면 얼핏 본것도 같은데.. 기억이 안나네

회전을 표현하는 다른 방법인 Rotation Matrix(이전글)와 비교했을 때, Quaternion은 회전 계산량이 작으며 메모리 효율적이고, Gimbal Lock(짐벌락) 현상이 발생하지 않는 장점을 갖고 있습니다.
다만 직관적으로 이해하거나 시각화기가 어렵다는 단점을 갖고 있습니다.

[링크 : https://xoft.tistory.com/110]

 

사원수 = 쿼터니안

그래서 i j k 라는데. 사원수면 4개 여야 하는거 아닌가 -ㅁ-?

q0 + q1i + q2j + q3k (실수 성분 하나에 허수 3개로 표시)

[링크 : https://normal-engineer.tistory.com/187]

[링크 : https://normal-engineer.tistory.com/35]

 

일단 대략 머리터짐 -ㅁ-

'이론 관련 > 수학 관련' 카테고리의 다른 글

차원의 저주  (0) 2023.03.18
추세선 알고리즘 (선형회귀)  (0) 2023.03.08
가우스 소거법  (0) 2023.01.19
텐서 합  (0) 2021.06.22
텐서 곱  (0) 2021.06.14
Posted by 구차니

한 줄 최대 128 byte(페이로드만) ascii hex string 이니 실제로는 64byte

 

Start code(1byte = :)   Byte count(2byte)   Address(4 byte)   Record type(1byte)   Data   Checksum(1byte)

0x10 = 32

32 + 11(1+2+4+2+2) = 43byte / line

: 10 0130 00 00000000000000000000000000000000 BF

[링크 : https://eteo.tistory.com/857]

[링크 : https://en.wikipedia.org/wiki/Intel_HEX]

Posted by 구차니

uart는 8bit 7bit만 있는줄 알았는데 9bit도 있다고 한다.

근데 PC에 달린녀석이나 USB to Serial 등으로는 안되는것 같기도 하고..

 

[링크 : https://community.st.com/t5/stm32-mcus-products/9-bit-uart-receive-stm32f103/td-p/336998]

[링크 : https://github.com/linux4sam/9bit]

[링크 : https://github.com/rhempel/serial9]

'이론 관련 > 네트워크 관련' 카테고리의 다른 글

DHCP option  (0) 2026.03.13
DHCP option 82 relay  (0) 2025.01.23
multicast  (0) 2023.08.26
cobs  (0) 2023.05.25
PAM4  (0) 2023.01.16
Posted by 구차니

간단하게.. sd 카드 자체에서 SPI 지원하도록 만들어 지는 듯.

그러면.. sd 카드 리더들은 sdio로 쓸까 spi로 쓸까? 궁금해지네..

 

[링크 : https://wowon.tistory.com/348]

[링크 : https://skook.tistory.com/182]

[링크 : https://skook.tistory.com/183]

[링크 : https://www.sdcard.org/downloads/pls/]

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

asus 메인보드 에러코드(q code)와 부팅절차  (0) 2026.04.20
intel hex 포맷  (0) 2026.03.24
cpuz 와 메모리 타이밍  (0) 2026.01.27
mPCIe pinout usb  (0) 2026.01.21
usb cdc acm(Abstract Control Model)  (0) 2026.01.08
Posted by 구차니

예전에 찾아봤던 신기한 녀석의 후속글.. 이라고 해야하나?

2025.01.23 - [이론 관련/네트워크 관련] - DHCP option 82 relay

 

0~255 총 256개의 옵션이 존재하며 BOOTP 에서 유래하거나 DHCP에서 추가된 것들이 있는 것 같은데..

dhcp 서버 설정을 해본적이 없는것 같네.. dhcpd.conf 뒤져보면 나오려나?

 

RFC 1497 (BOOTP Vendor Information Extensions) vendor extensions[13]: Section 3 CodeNameLengthNotes

0 Pad 0 octets Can be used to pad other options so that they are aligned to the word boundary; is not followed by length byte
1 Subnet mask 4 octets Client's subnet mask as per RFC 950. If both the subnet mask and the router option (option 3) are included, the subnet mask option must be first.
2 Time offset 4 octets Time offset of the client's subnet in seconds from Coordinated Universal Time (UTC). The offset is expressed as a two's complement 32-bit integer. A positive offset indicates a location east of the zero meridian and a negative offset indicates a location west of the zero meridian.
3 Router Multiples of 4 octets Available routers, should be listed in order of preference
4 Time server Multiples of 4 octets Available Time Protocol servers to synchronise with, should be listed in order of preference
5 Name server Multiples of 4 octets Available IEN 116 name servers, should be listed in order of preference
6 Domain name server Multiples of 4 octets Available DNS servers, should be listed in order of preference
7 Log server Multiples of 4 octets Available log servers, should be listed in order of preference
8 Cookie server Multiples of 4 octets Cookie in this case means "fortune cookie" or "quote of the day", a pithy or humorous anecdote often sent as part of a logon process on large computers; it has nothing to do with cookies sent by websites.
9 LPR Server Multiples of 4 octets A list of Line Printer Daemon protocol servers available to the client, should be listed in order of preference
10 Impress server Multiples of 4 octets A list of Imagen Impress servers available to the client, should be listed in order of preference
11 Resource location server Multiples of 4 octets A list of Resource Location Protocol servers available to the client, should be listed in order of preference
12 Host name Minimum of 1 octet Name of the client. The name may be qualified with the local domain name.
13 Boot file size 2 octets Length of the boot image in 512B blocks
14 Merit dump file Minimum of 1 octet Path where crash dumps should be stored
15 Domain name Minimum of 1 octet  
16 Swap server 4 octets The IP address of a server where a swap service (e.g., swap over NFS) is provided for diskless workstations[14]
17 Root path Minimum of 1 octet The path in the remote filesystem specified by siaddr or sname that the client should mount as its root filesystem (e.g, over NFS)
18 Extensions path Minimum of 1 octet  
255 End 0 octets Used to mark the end of the vendor option field

[링크 : https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol#Options]

 

This appendix contains DHCP options and BOOTP vendor extensions from RFC 2132, and includes the
validation type for each option, as indicated in Table 10: DHCPv4 Options by Number , on page 23.

The following sections describe the DHCP options in detail:
• RFC 1497 Vendor Extensions, on page 1

[링크 : https://www.cisco.com/c/en/us/td/docs/net_mgmt/prime/network_registrar/10-0/dhcp/guide/DHCP_Guide/DHCP_Guide_appendix_01101.pdf]

 

DHCP option 43 / 25DHCP (Dynamic Host Configuration Protocol) 에는 클라이언트가 DHCP 서버로부터 정보를 요청할 때 클라이언트에게 송신할 수 있는 많은 구성 옵션이 있습니다. 검색 도구를 사용하여 모든 DHCP 옵션을 볼 수 있습니다.

DHCP 옵션은 DHCP 서버가 IP 주소와 함께 클라이언트에게 전달하는 추가적인 구성 데이터를 정의합니다. 일반적인 옵션에는 서브네트 마스크, 도메인명, 라우터 IP 주소, 도메인명 서버 IP 주소 및 정적 라우트가 포함됩니다.

RFC 2132: DHCP 옵션 및 BOOTP 공급업체 확장의 정의를 기반으로 하는 표준 DHCP 옵션이 다음 표에 설명되어 있습니다. IBM Navigator FOR I의 DHCP 옵션 표시를 사용하여 사용자 지정 옵션을 구성할 수도 있습니다.

[링크 : https://www.ibm.com/docs/ko/i/7.5.0?topic=concepts-dhcp-options-lookup]

 

[링크 : http://www.ktword.co.kr/test/view/view.php?no=1925]

 

윈도우 서버 DHCP 설정

[링크 : https://undefinedmaster.tistory.com/23] 43

 

linux dhcpd 설정

host x41  { 
hardware ethernet 00:0a:e4:2f:66:38;
fixed-address 10.0.0.201;
option subnet-mask 255.255.255.0;
option domain-name-servers 10.0.0.20;
option domain-name "site";
  option vendor-class-identifier "PXEClient";
  vendor-option-space PXE;
    option PXE.discovery-control 7;
    option PXE.boot-server 15 1 10.0.0.20;
    option PXE.boot-menu 15  15 "Tpm for OSd 7.1";
    option PXE.menu-prompt 0 "Tpm for Osd";
}

[링크 : https://www.ibm.com/docs/en/tpmfod/7.1.1.14?topic=configuration-dhcpdconf-example

[링크 : https://manpages.ubuntu.com/manpages/bionic/man5/dhcp-options.5.html]

[링크 : https://y7712.tistory.com/entry/Ubuntu-DHCP]

 

dhcp 옵션에서 1번이 subnet 3번이 router 인데 아래 옵션이 그 옵션인가?

default-lease-time 600;
max-lease-time 7200;
subnet 10.0.0.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 10.0.0.1;
range 10.0.0.5 10.0.0.15;
}
subnet 172.16.0.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
option routers 172.16.0.1;
range 172.16.0.5 172.16.0.15;
}

[링크 : https://docs.redhat.com/ko/documentation/red_hat_enterprise_linux/7/html/networking_guide/sec-configuring_a_multihomed_dhcp_server]

'이론 관련 > 네트워크 관련' 카테고리의 다른 글

uart 9bit multidrop  (0) 2026.03.17
DHCP option 82 relay  (0) 2025.01.23
multicast  (0) 2023.08.26
cobs  (0) 2023.05.25
PAM4  (0) 2023.01.16
Posted by 구차니