본문 바로가기

전체 글27

20250716 1. Conditionals은 어떤 원리로 동작을 하는가?[RedN 발췌]We insert a CAS that compares the 64-bit value at the address of R2’s opcode attribute (initially NOOP) with its old parameter (also initially NOOP).1.1) CAS는 어떻게 동작을 하는가?CAS는 compare data field에 64-bit value와 destination buffer에 있는 value를 비교하는 operation이다. 즉, 아래 코드를 보면 cmp_data와 cmp_or_add_dest_buff(데이터 버퍼)에 있는 value를 비교하여 같으면 swap_or_add_data로 swap을 한다... 2025. 7. 16.
[Cloud] Techniques to Design Virtualization (1) ContentsIntroduction: Techniques to Design VirtualizationTrap and EmulateTechniques to Virtualize x86Memory VirtualizationI/O VirtualizationKVM/QEMU Hardware-assisted VirtualizationHardware-assisted VirtualizationKVM/QEMU VirtualizationPractice: kvm-hello-world1. Introduction: Techniquest to Design Virtualization1.1 Trap and Emulate프로세서들은 일반적으로 privilege level을 정의하여 user process와 OS를 다른 level에서 .. 2024. 12. 12.
[Cloud] Introduction to Operating Systems Contents1. The concept of a process 2. Virtual Memory 3. User/Kernel Mode 4. Tap Handling 5. Segmentation 6. I/O Subsystem 1. The concept of a process ProcessA process is the instance of a computer program that is being executed one or many threads, which the smallest sequence of programmed instructions.For example, when writing a C program, you might use the compiler to turn source code into an.. 2024. 12. 12.
[Cloud Security] Container Security ContentsCloud NativeWhat is Container?Container Security1. Cloud Native Cloud-Native: Cloud 환경의 특성을 고려하여 만들어진 애플리케이션 및 시스템클라우드라는 특화된 환경에 맞게 최대한 효율적으로 QoS와 같은 것을 극대화 하는 방식 (Cloud-friendly)(PaaS + Container) & (MSA + Container) & (DevOps + CI/CD) → Re-Factor (클라우드 환경 아키텍처 제공)클라우드 친화 단계 애플리케이션 + 클라우드 네이티브 애플리케이션 (클라우드 맞춤형으로 개편화)MSA에 따라 구현하며 lightweight container로 실행하여 개발, 통합, 테스트, 배포가 지속적으로 이루어진다.민.. 2024. 12. 7.
[Cloud Security] Introduction to Cloud Security ContentsIntroduction: Cloud computing growthCloud Security RisksCloud SecurityMulti-cloud Security1. Introduction: Cloud computing growth Cloud Computing 시장은 20%씩 연마다 성장하고 있습니다. 대부분의 Service providers은 PaaS, IaaS와 같은 Cloud service models에 의존하여 public cloud services를 운영하고 있습니다. Cloud Computing은 인프라 기술로 end user뿐만 아니라 기업 입장에서도 스토리지, 컴퓨팅 등에 많이 사용이 되고 있기 때문에 시장 규모는 꾸준히 성장할 것입니다.  Cloud Computing 시장이.. 2024. 12. 2.
왜 Tassel은 RDMA NICs를 사용하였는가? (SIGCOMM'24) Tassel은 Fast를 제공하기 위해서 RDMA NICs을 사용하였다. Tassel에서 motivation으로 삼은 논문이 SENIC@NSDI’14와 PIEO@SIGCOMM’19인데 두 논문도 fast를 제공한다. 하지만 Tassel이 달성하고자 하는 성능은 100Gbps 대역폭에서 최대 110Mpps이기 때문이다. 이런 성능을 달성하려면 고성능의 NIC이 필요한데, smartNIC이나 RNICs을 고려할 수 있다. 그 중에서 Tassel은 RNIC을 사용한다. smartNIC도 rate limiter를 제공하기 때문에 FPGA-based smartNIC도 고려할 수 있겠지만 저자는 RNICs을 선택한 것 같다. RedN@NSDI’22를 보면 smartNICs은 cost + management 측면에서.. 2024. 11. 29.