'이론 관련/컴퓨터 관련'에 해당되는 글 91건

  1. 2026.01.27 cpuz 와 메모리 타이밍
  2. 2026.01.21 mPCIe pinout usb
  3. 2026.01.08 usb cdc acm(Abstract Control Model)
  4. 2025.12.01 pc 쿨링팬 pwm 주파수
  5. 2025.05.08 bit banging
  6. 2025.05.07 numa 와 smp
  7. 2024.07.14 USB BOS - Binary Object Store
  8. 2024.04.01 DDR3 pinout과 ECC
  9. 2024.04.01 uefi dxe pei
  10. 2024.03.21 radix 4 - fp4

cpu-z 에서 메모리 타이밍 테이블을 보면, 4개만 있어서 다른 클럭은 안되나 싶었는데

 

하단의 Tools - Save Report as .TXT 해서 저장하고 보면

 

다음과 같이 JEDEC # 으로 해서 전체가 나온다.

최소한 슬라이드 해서 전체를 보여주면 더 좋았을걸 아쉽네

Memory SPD
-------------------------------------------------------------------------

DIMM # 1
SMBus address 0x50
Memory type DDR4
Module format SO-DIMM
Module Manufacturer(ID) SK Hynix (AD00000000000000000000000000)
SDRAM Manufacturer (ID) SK Hynix (AD00000000000000000000000000)
Size 8192 MBytes
Max bandwidth DDR4-2133 (1066 MHz)
Part number HMA41GS6AFR8N-TF    
Serial number 2719C256
Manufacturing date Week 25/Year 16
Nominal Voltage 1.20 Volts
EPP no
XMP no
AMP no
EXPO no
JEDEC timings table CL-tRCD-tRP-tRAS-tRC @ frequency
JEDEC #1 9.0-9-9-22-31 @ 666 MHz
JEDEC #2 11.0-11-11-27-38 @ 800 MHz
JEDEC #3 12.0-13-13-30-42 @ 900 MHz
JEDEC #4 13.0-14-14-32-45 @ 966 MHz
JEDEC #5 14.0-14-14-35-49 @ 1033 MHz
JEDEC #6 15.0-15-15-36-50 @ 1066 MHz
JEDEC #7 16.0-15-15-36-50 @ 1066 MHz

DIMM # 1
SPD registers
00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 
00 23 11 0C 03 84 19 00 08 00 40 00 03 09 03 00 00 
10 00 00 08 0D F4 03 00 00 6C 6C 6C 11 08 74 20 08 
20 00 05 70 03 00 A8 1E 2B 2E 00 78 00 14 3C 00 00 
30 00 00 00 00 00 00 00 00 00 00 00 00 2D 0E 0B 2C 
40 2E 04 0B 35 00 00 16 2B 2D 0E 15 35 24 0E 00 00 
50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
70 00 00 00 00 00 86 B5 CE 00 00 00 00 E7 C1 DD CE 
80 0F 11 04 01 00 00 00 00 00 00 00 00 00 00 00 00 
90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF DB 
100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
140 80 AD 01 16 25 27 19 C2 56 48 4D 41 34 31 47 53 
150 36 41 46 52 38 4E 2D 54 46 20 20 20 20 00 80 AD 
160 FF 57 56 36 36 4E 30 35 35 39 32 30 33 00 00 00 
170 01 00 00 00 00 00 00 01 00 00 00 00 00 DD 00 00 
180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
1F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 

 

심심해서 만들어 본 표. DDR4 메모리 클럭 범위가 의외로 어마어마하게 넓네?

MT/s MHz bandwidth
1600 800 12800
1800 900 14400
1932 966 15456
2066 1033 16528
     
2133 1066.5 17064
2400 1200 19200
2666 1333 21328
2933 1466.5 23464
3000 1500 24000
3200 1600 25600
3600 1800 28800
4000 2000 32000
4133 2066.5 33064
     
4200 1033 33600

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

mPCIe pinout usb  (0) 2026.01.21
usb cdc acm(Abstract Control Model)  (0) 2026.01.08
pc 쿨링팬 pwm 주파수  (0) 2025.12.01
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
Posted by 구차니

mini PCI express 에는 특이하게도 USB가 존재한다.

36, 38번 핀(USB_DM / USB_DP)

고작(?) PETp0 / PETn0 / PERp0 / PERn0 4개 핀인거 보면 양방향 디퍼런셜 1채널이 전부인것 같은데

그 와중에 부가핀이 더 많은게 함정이네. wifi 나 usim은 reserved 영역인진 모르겠다.

[링크 : https://m.blog.naver.com/spc9999/566 71141]

 

 

[링크 : https://community.toradex.com/t/ec25-mini-pcie-is-not-detected-on-verdin-am62/21343/20]

 

[링크 : https://connecttech.com/ftp/pdf/CTIM-MPG00X.pdf[

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

cpuz 와 메모리 타이밍  (0) 2026.01.27
usb cdc acm(Abstract Control Model)  (0) 2026.01.08
pc 쿨링팬 pwm 주파수  (0) 2025.12.01
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
Posted by 구차니

ttyACM 이라는 장치명으로 붙길래 ACM의 약자가 궁금해서 검색

Communication Device Class (Abstract Control Model)

[링크 : https://www.keil.com/pack/doc/mw/usb/html/group__usbh__cdcacm_functions.html]

 

 

[링크 : https://docs.oracle.com/cd/E19253-01/819-0360/gevsx/index.html]

 

CDC의 서브클래스라고 해야하나.. 아무튼 CDC에 ACM과 ECM이 있는데

그러면 usb to ethernet 들은 ECM 클래스인가? 조사를 나중에 해봐야겠네

3) Communication Device Class(CDC)
USB to Serial, USb to ethrenet 등 usb 포트에 연결하여 통신하는 디바이스들이 주로 사용하는 class이다. CDC는 통신 방법에 따라 ACM, ECM, EEM, NCM, OBEX 등의 다양한 subclass를 사용한다.
ACM(Abstract Control Model Class)
USB to Serial에 주로 사용되는 subclass
ECM(Ethernet Networking Control Model)
Usb to ethernet의 subclass. 주 목적은 ethernet packet을 전송하기 위한 class이다.

[링크 : https://jeongzero.oopy.io/fad066a1-fe95-487e-a826-003aee42a0cc]

 

ECM - usb if에서 정의

rndis (remote ndis) - ms에서 개발한 독점 프로토콜

[링크 : https://codezoo.tistory.com/109]

[링크 : https://community.st.com/t5/stm32-mcus-products/stm32u5x-usb-ecm-demo-how-to-setup-host/td-p/631189]

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

cpuz 와 메모리 타이밍  (0) 2026.01.27
mPCIe pinout usb  (0) 2026.01.21
pc 쿨링팬 pwm 주파수  (0) 2025.12.01
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
Posted by 구차니

대충 25khz?

[링크 : https://blog.naver.com/divenire_am/220489050085]

 

ATX 규격은 아니고 intel 팬에 대한 규격으로 있다고 ai 님께서 이야기 하신다.

4-Wire Pulse Width Modulation (PWM) Controlled Fans

2.3.1 PWM Output Signal
The Hardware Monitor Devise is required to provide an open-drain or open-collector type output
for the PWM signal on pin 4 (see Table 1 and Figure 8) with the following properties:
Frequency: 25kHz nominal, 21-28kHz is acceptable
Current sink capability: 5mA required, 8mA recommended
Maximum voltage capability: 5.25V
Maximum VOL: 0.8V
Signal is not inverted, 100% PWM results in Max fan speed 

[링크 : https://glkinst.com/cables/cable_pics/4_Wire_PWM_Spec.pdf]

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

mPCIe pinout usb  (0) 2026.01.21
usb cdc acm(Abstract Control Model)  (0) 2026.01.08
bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
USB BOS - Binary Object Store  (0) 2024.07.14
Posted by 구차니

bit band는 들어봤는데

[링크 https://blog.naver.com/eziya76/220983418293]

 

bit banging은 첨 들어봐서 검색해보니, 그냥 gpio로 uart / i2c / spi 등을 통신할 수 있도록 구현하는 것을 지칭한다.

그냥 깡으로 구현한다고 생각해서 지칭하는 용어가 없는 줄 알았는데...

[링크  https://article2.tistory.com/338]

 

Bit banging is a term of art that describes a method of digital data transmission as using general-purpose input/output (GPIO) instead of computer hardware that is intended specifically for data communication.[1] Controlling software is responsible for satisfying protocol requirements including timing which can be challenging due to limited host system resources and competing demands on the software.

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

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

usb cdc acm(Abstract Control Model)  (0) 2026.01.08
pc 쿨링팬 pwm 주파수  (0) 2025.12.01
numa 와 smp  (0) 2025.05.07
USB BOS - Binary Object Store  (0) 2024.07.14
DDR3 pinout과 ECC  (0) 2024.04.01
Posted by 구차니

문득 numa 라는게 보여서 먼가 해서 찾아보는데

smp는 north bridge가 있던 시절이고(!)

north bridge의 memory controller가 cpu의 요청에 따라 큐잉되어 메모리를 읽어서 보내주고

메모리에 cpu들이 많이 요청하면 응답대기가 길어지는 문제가 발생

 

그래서 NUMA 에서는 cpu 별로 메모리를 장착하고

local memory라고 이름짓고는 자기에게 할당된 메모리에서는 쌩쌩하게

그게 아니면 cpu 간의 inter-connect를 이용하여 다른 cpu의 메모리를 접근해서 대용량 메모리를 쓰는 구조

[링크 : https://jeongzero.oopy.io/94ef3e61-c27c-4fba-b8b9-2b9b8aac933a]

[링크 : https://brunch.co.kr/@dreaminz/4]

 

아.. 그래서 요즘 서버가 cpu 별로 메모리가 구성되어야 해서 특정 슬롯에 꽂아 해당 cpu에 local memory로 구성되게 되는거였군..

[링크 : https://www.dell.com/support/manuals/ko-kr/poweredge-r740/per740_ism_pub/system-memory-guidelines?guid=guid-35e102bf-db9e-4652-a16b-2b37f8fce553&lang=en-us]

 

반대로 그러면.. cpu 에서 스케쥴링 할때 cpu 에 round robin등으로 임의 할당하면 안되고

어느정도는 벗어날수 없는(?) 경계가 존재하는 affinity 제한적 스케쥴링을 해야 하는건가?

 

 

 

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

pc 쿨링팬 pwm 주파수  (0) 2025.12.01
bit banging  (0) 2025.05.08
USB BOS - Binary Object Store  (0) 2024.07.14
DDR3 pinout과 ECC  (0) 2024.04.01
uefi dxe pei  (0) 2024.04.01
Posted by 구차니

BOS가 그래서 머하는건지 까지 가려면.. USB 스펙을 다 읽어야 할 것 같은 느낌이... 크흡

[링크 : https://www.usb.org/bos-descriptor-types]

 

However I'm having trouble finding the Binary Device Object Store (BOS) descriptor using either method.



The header BOS descriptor is:

struct usb_bos_descriptor_header {
    u8_t bLength;
    u8_t bDescriptorType;
    u16_t wTotalLength;
    u8_t bNumDeviceCaps;
};

[링크 : https://stackoverflow.com/questions/57947195/]

 

EFI_USB_BOS_DESCRIPTOR 구조체는 USB 함수 드라이버에 BOS(Binary Object Store)에 대한 정보를 제공합니다.

[링크 : https://learn.microsoft.com/ko-kr/windows-hardware/drivers/bringup/efi-usb-bos-descriptor]

[링크 : https://techcommunity.microsoft.com/t5/microsoft-usb-blog/usb-2-1-2-0-1-1-device-enumeration-changes-in-windows-8/ba-p/270775]

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

bit banging  (0) 2025.05.08
numa 와 smp  (0) 2025.05.07
DDR3 pinout과 ECC  (0) 2024.04.01
uefi dxe pei  (0) 2024.04.01
radix 4 - fp4  (0) 2024.03.21
Posted by 구차니

+ 2024.04.02

대충 정리 하다면

DDR3 unbuffred + CBx + EVENT# = DDR3 ECC unbuffred (ECC 8bit 추가 + 온도 리포팅)

DDR3 ECC unbuffred + Err_Out + Par_in = DDR3 ECC buffred(or registerd) (명령과 주소 버스에 대한 패리티 추가)

 

----

 

심심해서(?)

서버의 DDR3-12800E 와 데스크 탑의 DDR3-12800U 메모리가

서로의 메인보드에 호환이 될지 테스트 해보는데

 

일단 현재까진

데스크탑에 DDR3-12800E ECC/unbuffered 는 문제 없이 인식(현재 2가지 메인보드 테스트)

서버에 DDR3-12800U 는 메모리 인식 오류로 bios에서 비프음 발생한다.

 

----

ECC/reg 메모리에서 error로 검색하면 아래와 같이 두개의 핀이 검색되어 나온다.

Symbol Type Description

CBx I/O Check bits: Used for system error detection and correction

Err_Out# Output (open drain) Parity error output: Parity error found on the command and address bus

 

비교해보면

39~40, 45~46, 158~159, 164~165번에 CB0~7

53번에 Err_Out

68번에 Par_in

187번에 EVENT# 핀이 차이가 난다.

 

Symbol Type Description

Par_In Input Parity input: Parity bit for Ax, RAS#, CAS#, and WE#.

EVENT# Output (open drain) Temperature event: The EVENT# pin is asserted by the temperature sensor when critical temperature thresholds have been exceeded.

 

근데 가장 왼쪽의 ECC는 데이터시트가 제대로 된게 맞나 의심이 된다. 아니면 ECC/reg와 ECC는 다른건가?

ECC 에서는 왜 Err_Out#이 없지? (혹시나 다른 제조사 껄 보는데 ECC U-DIMM 의 경우는 Err_Out이 없다)

 

아래는 ECC/reg 의 핀 아웃중 일부인데

Register and PLL 이라고 써있는 U6 칩에서 신호정렬후 다시 보내는 것을 확인할 수 있다.

 

------

 

DDR3L SR UDIMM - unbuffered

[링크 : https://media-www.micron.com/-/media/client/global/documents/products/data-sheet/modules/unbuffered_dimm/ktf8c128_256_512x64az.pdf?rev=2b5782e710b943ef87af4b3008fbf844]

 

DDR3L ECC SR UDIMM - unbuffered ECC

[링크 : https://media-www.micron.com/-/media/client/global/documents/products/data-sheet/modules/unbuffered_dimm/ksf9c128_256_512x72az.pdf?rev=3511a7c63c0f4571bcf31314d0afc492]

 

DDR3L ECC U-DIMM - unbufferd ECC (Adata)

[링크 : https://www.adata.com/upload/downloadfile/R11-0837_SUDE1600W8G11_DDR3L-1600_CL11_8GB_512Mx8_Pb%20free_ECC%20U-DIMM_V0_.pdf]

 

DDR3L VLP ECC DR RDIMM - ECC/registered

[링크 : https://media-www.micron.com/-/media/client/global/documents/products/data-sheet/modules/parity_rdimm/kdf18c512_1gx72pdz.pdf?rev=bc2b11b5aada432f8171e3db684094e0]

 

+

2024.04.02

Load Reduced 라서 LRDIMM 인데 핀만 봐서는 ECC/reg와 별반 차이가 없다

다만 Rank가 높다는게 위의 메모리들과의 차이이고, rank multipler 등의 별도 하드웨어가 추가 될 듯.

32GB (x72, ECC, QR) 240-Pin DDR3 LRDIMM

[링크 : https://media-www.micron.com/-/media/client/global/documents/products/data-sheet/modules/lrdimm/jszs72c4gx72lz.pdf?rev=f220cca150544a9fa0a4fe28d1f51de4]

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

numa 와 smp  (0) 2025.05.07
USB BOS - Binary Object Store  (0) 2024.07.14
uefi dxe pei  (0) 2024.04.01
radix 4 - fp4  (0) 2024.03.21
1.58bit  (0) 2024.03.16
Posted by 구차니

E5 v4   서버에서 부팅하다가 멈추길래

먼지 찾아보니 CPU DXE 이런 단계라는데 먼가해서 찾아보니

UEFI 에서 초기화 단계중 하나인듯.

 

The Driver Execution Environment (DXE) phase is where most of the system initialization is performed. Pre-EFI Initialization (PEI), the phase prior to DXE, is responsible for initializing permanent memory in the platform so that the DXE phase can be loaded and executed. The state of the system at the end of the PEI phase is passed to the DXE phase through a list of position-independent data structures called Hand-Off Blocks (HOBs). HOBs are described in detail in Volume 3 .

[링크 : https://uefi.org/specs/PI/1.8/V2_Overview.html]

 

DXE = Driver Execution Environments.
Once system RAM is initialized and the PEI phase completes, the DXE environment is entered.

[링크 : https://rog-forum.asus.com/t5/x99/q-code-76-meaning/td-p/605026]

 

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

USB BOS - Binary Object Store  (0) 2024.07.14
DDR3 pinout과 ECC  (0) 2024.04.01
radix 4 - fp4  (0) 2024.03.21
1.58bit  (0) 2024.03.16
gps kalman  (0) 2024.03.13
Posted by 구차니

`fp4 라는게 어떤 구조인지 궁금해서 찾아보는데

radix 4 라서 결국에는 fp16과 range는 동일하지만 정밀도가 낮아지는 것 같다.

 

1 1/4 1/16 1/64 1/256 1/1024 1/4096 1/16384 1/65536
1 0.25 0.0625 0.015625 0.00390625 0.0009765625 0.0002441406 0.0000610352



[링크 : https://t.hi098123.com/IEEE-754] // 온라인 계산기

The authors propose novel techniques to enable 4-bit (floating-point) quantized training for DNN training. The first technique is radix-4 fp4, which is a 1-3-0 (sign-exponent-mantissa) representation. 

[링크 : https://proceedings.neurips.cc/paper/2020/file/13b919438259814cd5be8cb45877d577-Review.html]


In the system with radix 13, for example, a string of digits such as 398 denotes the (decimal) number 3 × 132 + 9 × 131 + 8 × 130 = 632

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

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

DDR3 pinout과 ECC  (0) 2024.04.01
uefi dxe pei  (0) 2024.04.01
1.58bit  (0) 2024.03.16
gps kalman  (0) 2024.03.13
db 식별/비식별 관계  (0) 2024.02.15
Posted by 구차니