반응형
작성일: 2024년 4월 26일

 

 

Ubuntu 24.04 (Noble Numbat)이 정식 릴리즈되었다.

ubuntu.com 홈페이지에 들어가면 24.04 릴리즈 소식을 바로 볼 수 있다.

 

Ubuntu 24.04 Noble Numbat 릴리즈 소식을 전하는 Canonical 홈페이지 화면

 

지금 Ubuntu 24.04를 사용할 일은 없지만, 새로운 OS이니까 설치해봐야지 ^^

 

i9 CPU가 장착된 Desktop PC에서 KVM을 이용해서 Ubuntu 24.04를 설치해봤다.

ISO 파일을 다운로드한 시간을 제외하면, 실제로 OS 패키지를 설치한 시간은 대략 6분 정도 걸렸다.

Ubuntu 24.04를 부팅한 직후에

  • Chromium 브라우저를 설치하고, YouTube에서 4K 영상 재생.
  • SSH 설정해서 외부에서 접속.
  • Remote Desktop도 설정해서 접속.

30분 정도 사용해봤을 때, UX 측면에서 Ubuntu 22.04와 거의 바뀐 것은 없다. 

내가 알아낸 UX 측면의 변화는

  • [ Settings / Sharing ] 화면에서 Remote Desktop 기능이 빠짐
  • [ Settings / System ] 화면에 Remote Desktop 기능이 추가됨

즉, [ Remote Desktop ] 설정 메뉴가 [ Sharing ] 하위 메뉴에서 [ System ] 하위 메뉴로 이동했다.

 

Ubuntu 24.04 Noble Numbat 설치한 모습

 

 

 

며칠 더 사용해보고, 이슈가 있으면 여기에 메모를 추가하겠음~

 

 

2024년 4월 26일에 발견한 이슈.

내 PC에서는 문제가 없었는데, 회사의 동료들은 Ubuntu GUI Desktop 환경에 문제가 있다고 한다.

"Terminal" 앱을 제외하고 모든 GUI 창 모서리가 "깜빡~깜빡~"하면서 창 모양이 사라졌다 다시 보였다 하는 현상이 있다.

(1초에 10번 정도 깜빡이는 것처럼 보임)

그래서 동료들은 Ubuntu GUI Desktop 없이 Ubuntu Server 패키지만 설치해서 SSH 접속해서 사용하고 있다.

참고로, 이렇게 GUI 화면이 깜빡이는 동료들의 PC 운영 환경은 아래와 같다.

  • Baremetal --> 설치 단계부터 GUI가 안 보임
  • VirtualBox --> GUI Desktop 화면이 깜빡이는 현상 발생

정상적으로 잘 동작하는 경우는 아래와 같다.

  • KVM / Qemu 환경에 VM으로 Ubuntu 24.04를 설치한 경우 --> 정상 동작

 


 

반응형

"커널연구회"의 자료를 참고!

 

 

https://www.kernel.bz/blogPost/kernel-mov-list

 

커널 소스 분석 문서 및 동영상 강의 목록

 

kernel.bz

 

 

http://www.iamroot.org/

 

iamroot.org - IT 스터디

kernel, xen, kvm, gcc, ai 스터디 그룹

www.iamroot.org

 

 

http://www.iamroot.org/xe/index.php?mid=Study&document_srl=215076 

 

커널 스터디를 위한 문c 가이드입니다. - 스터디 - iamroot.org

안녕하세요? 문c 블로그(http://jake.dothome.co.kr)의 문영일입니다.   한 달 후면 여러분들이 1년간 기다리셨던 18차 커널 스터디가 시작됩니다. 커널 스터디를 통한 과실은 이미 많은 분들이 들어보

www.iamroot.org

 

 

http://jake.dothome.co.kr/

 

문c 블로그

최신 ARM 리눅스 5.x 커널 분석

jake.dothome.co.kr

 

 

 


 


https://hyeyoo.com/80

 

[kernel/locking] spinlock (1) - spinlock 사용법

앞선 글에서 lock이란 무엇이고, lock의 필요성에 대해서 알아보았다. 이번 글에서는 가장 기본적인 spinlock을 리눅스 커널에서 어떻게 구현했는지 알아볼 것이다. 우선 관련된 개념을 몇 가지 살펴

hyeyoo.com

 

 

https://pr0gr4m.github.io/

 

Linux Kernel Analysis

Linux Kernel Blog

pr0gr4m.github.io

 

반응형

 

 

 

참고 문서:
  "문c 블로그 - RCU(Read Copy Update)"
  http://jake.dothome.co.kr/rcu/

 

 

참고 문서: 
  "리눅스 커널 RCU 이해 / 커널연구회"
  https://kernel.bz/boardPost/118679/20

 

반응형

 

Mainboard, CPU, Memory, Storage, Graphic 장치 정보 조회

##
## Mainboard(메인보드, 마더보드) 정보 조회
##

$ inxi --machine
Machine:
  Type: Desktop System: Gigabyte product: Z590 AORUS PRO AX v: -CF serial: N/A
  Mobo: Gigabyte model: Z590 AORUS PRO AX v: x.x serial: N/A UEFI: American Megatrends LLC.
    v: F4 date: 01/29/2021


##
## CPU 정보를 조회
##
$ inxi --cpu
CPU:
  Info: 8-core model: 11th Gen Intel Core i7-11700 bits: 64 type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 2393 min/max: 800/4800:4900 cores: 1: 2500 2: 2500 3: 2500 4: 2500 5: 2500
    6: 2500 7: 2500 8: 2500 9: 2500 10: 2500 11: 2500 12: 2500 13: 800 14: 2500 15: 2500 16: 2500


##
## 물리 Memory 정보 조회
##

inxi --memory
Memory:
  RAM: total: 62.67 GiB used: 2.32 GiB (3.7%)
  Array-1: capacity: 64 GiB slots: 4 EC: None
  Device-1: Controller0-ChannelA-DIMM0 size: 16 GiB speed: 3200 MT/s
  Device-2: Controller0-ChannelA-DIMM1 size: 16 GiB speed: 3200 MT/s
  Device-3: Controller0-ChannelB-DIMM0 size: 16 GiB speed: 3200 MT/s
  Device-4: Controller0-ChannelB-DIMM1 size: 16 GiB speed: 3200 MT/s
  
  
##
## Graphic 처리 장치 정보를 조회
##

$ inxi --graphic
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3080 Ti] driver: nvidia v: 530.41.03
  Display: server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.1 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: nvidia tty: 148x60
  Message: GL data unavailable in console for root.
  
    
##
## Storage(Disk) 장치 정보를 조회
##

$ inxi --disk
Drives:
  Local Storage: total: 4.55 TiB used: 711.75 GiB (15.3%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 1TB size: 931.51 GiB
  ID-2: /dev/sda vendor: Western Digital model: WD40EZAZ-00SF3B0 size: 3.64 TiB
  
  
##
## Bluetooth 장치 정보를 조회
##

$ inxi --bluetooth
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb
  Report: hciconfig ID: hci0 state: up address: 84:AA:77:D0:0B:23 bt-v: 3.0
  
  
##
## Audio 장치 정보를 조회
##

$ inxi --audio
Audio:
  Device-1: Intel Tiger Lake-H HD Audio driver: snd_hda_intel
  Device-2: NVIDIA GA102 High Definition Audio driver: snd_hda_intel
  Device-3: Giga-Byte USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid
  Sound Server-1: ALSA v: k5.19.0-41-generic running: yes
  

##
## USB 장치 정보
##

$ inxi --usb
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
  Device-1: 1-2:2 info: Giga-Byte USB Audio type: Audio,HID rev: 2.0
  Hub-2: 1-4:3 info: Realtek RTS5411 Hub ports: 4 rev: 2.1
  Device-1: 1-10:4 info: Logitech Unifying Receiver type: Keyboard,Mouse rev: 2.0
  Hub-3: 1-11:5 info: Genesys Logic Hub ports: 4 rev: 2.0
  Hub-4: 1-12:6 info: Genesys Logic Hub ports: 4 rev: 2.0
  Device-1: 1-13:7 info: Integrated Express ITE Device type: HID rev: 2.0
  Device-2: 1-14:8 info: Intel AX200 Bluetooth type: Bluetooth rev: 2.0
  Hub-5: 2-0:1 info: Super-speed hub ports: 9 rev: 3.1
  Hub-6: 2-3:2 info: Realtek Hub ports: 4 rev: 3.2

 

 

NVIDIA Graphic Device 정보

##
## NVIDIA 설정 정보
##

$ nvidia-settings --version

nvidia-settings:  version 530.41.03
  The NVIDIA Settings tool.

  This program is used to configure the NVIDIA Linux graphics driver.
  For more detail, please see the nvidia-settings(1) man page.
  


##
## System Management Interface
##

$ nvidia-smi

Fri May 19 13:01:31 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 530.41.03              Driver Version: 530.41.03    CUDA Version: 12.1     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                  Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf            Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 3080 Ti      Off| 00000000:01:00.0  On |                  N/A |
|  0%   31C    P8               12W / 350W|    384MiB / 12288MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|    0   N/A  N/A      3961      G   /usr/lib/xorg/Xorg                           62MiB |
|    0   N/A  N/A      4265    C+G   ...libexec/gnome-remote-desktop-daemon      251MiB |
|    0   N/A  N/A      4306      G   /usr/bin/gnome-shell                         64MiB |
+---------------------------------------------------------------------------------------+


$  nvidia-smi -q

==============NVSMI LOG==============

Timestamp                                 : Fri May 19 13:05:00 2023
Driver Version                            : 530.41.03
CUDA Version                              : 12.1

Attached GPUs                             : 1
GPU 00000000:01:00.0
    Product Name                          : NVIDIA GeForce RTX 3080 Ti
    Product Brand                         : GeForce
    Product Architecture                  : Ampere
    Accounting Mode Buffer Size           : 4000   
    Fan Speed                             : 0 %
    Performance State                     : P8
    FB Memory Usage
        Total                             : 12288 MiB
        Reserved                          : 245 MiB
        Used                              : 384 MiB
        Free                              : 11658 MiB
    BAR1 Memory Usage
        Total                             : 256 MiB
        Used                              : 10 MiB
        Free                              : 246 MiB
    Utilization
        Gpu                               : 0 %
        Memory                            : 12 %
        Encoder                           : 0 %
        Decoder                           : 0 %
    Temperature
        GPU Current Temp                  : 31 C
        GPU Shutdown Temp                 : 98 C
        GPU Slowdown Temp                 : 95 C
        GPU Max Operating Temp            : 93 C
        GPU Target Temperature            : 83 C
        Memory Current Temp               : N/A
        Memory Max Operating Temp         : N/A
    Power Readings
        Power Management                  : Supported
        Power Draw                        : 13.61 W
        Power Limit                       : 350.00 W
        Default Power Limit               : 350.00 W
        Enforced Power Limit              : 350.00 W
        Min Power Limit                   : 100.00 W
        Max Power Limit                   : 350.00 W
    Clocks
        Graphics                          : 210 MHz
        SM                                : 210 MHz
        Memory                            : 405 MHz
        Video                             : 555 MHz
    Max Clocks
        Graphics                          : 2130 MHz
        SM                                : 2130 MHz
        Memory                            : 9501 MHz
        Video                             : 1950 MHz
    Voltage
        Graphics                          : 775.000 mV
    Fabric
        State                             : N/A
        Status                            : N/A
    Processes
        GPU instance ID                   : N/A
        Compute instance ID               : N/A
        Process ID                        : 3961
            Type                          : G
            Name                          : /usr/lib/xorg/Xorg
            Used GPU Memory               : 62 MiB
        GPU instance ID                   : N/A
        Compute instance ID               : N/A
        Process ID                        : 4265
            Type                          : C+G
            Name                          : /usr/libexec/gnome-remote-desktop-daemon
            Used GPU Memory               : 251 MiB
        GPU instance ID                   : N/A
        Compute instance ID               : N/A
        Process ID                        : 4306
            Type                          : G
            Name                          : /usr/bin/gnome-shell
            Used GPU Memory               : 64 MiB

 

반응형
VLAN 설정 테스트한 날짜: 2023년 5월 19일

 

아래는 테스트할 때 사용했던 설정 내용.

$ sudo cat /etc/netplan/00-network-manager-all.yaml

network:
  version: 2
  renderer: NetworkManager
  ethernets:
## eth0에 IP Address 값을 설정하던 안 하던 VLAN 설정과는 관련이 없다.
    eth0:
      addresses: [172.16.1.11/24]
  vlans:
    vlan.2:
      id: 2
      link: eth0
      addresses: [ 172.16.2.11/24]
      

$ sudo netplan try --debug

$ ip addr

0: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 08:33:77:08:3b:2a brd ff:ff:ff:ff:ff:ff
    inet 172.16.1.11/24 brd 172.16.1.255 scope global eth0
       valid_lft forever preferred_lft forever
       
1: vlan.2@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 08:33:77:08:3b:2a brd ff:ff:ff:ff:ff:ff
    inet 172.16.2.11/24 brd 172.16.2.255 scope global vlan.2
       valid_lft forever preferred_lft forever
...

 

L2 Switch에 연결해서 테스트했는데 잘 동작한다.

 

 

VLAN 개념 참고 문서:  https://gettingconnected.tistory.com/79

 

 

블로그 작성자: sejong.jeonjo@gmail.com

 

반응형

 

Boot Ubuntu 22.04 in text mode

아래 예시를 따라서 설정을 변경한다.

$ sudo  cat   /etc/default/grub

... 중간 생략 ...
## 아래 줄 '#' 코멘트를 삭제
GRUB_TERMINAL=console
... 중간 생략 ...

$ sudo  update-grub

$ sudo  systemctl set-default multi-user.target

$ sudo  reboot

Ubuntu OS가 Console mode로 기동될 것이다.

 

Boot Ubuntu 22.04 in graphical mode

아래 예시를 따라서 설정을 변경한다.

$ cat /etc/default/grub

... 중간 생략 ...
## 아래 줄처럼 '#' 문자로 comment 처리
# GRUB_TERMINAL=console
... 중간 생략 ...

$ sudo  update-grub

$ sudo  systemctl set-default graphical.target

$ sudo  reboot

Ubuntu OS가 GUI mode로 기동될 것이다. (Gnome, KDE Desktop 같은 걸루~)

반응형

 

HP DL-380, DL-580 또는 Dell PowerEdge 장비처럼 network port가 4~10개가 넘는 경우

Network 물리 포트와 OS에 할당된 Network port 이름간 관계를 찾기가 어렵다.

 

이럴 때, ethtool 명령으로 특정 포트 이름의 물리 포트가 어떤 것인지 찾을 수 있다.

예를 들어, 아래처럼 명령을 수행하면 eth0 포트에 해당하는 물리 포트의 램프가 아주 빠르게 깜빡깜빡거린다.

 

 

##
## eth0 포트의 램프를 깜빡거리게 한다.
##

$  ethtool -p eth0
^C


##
## eno2 포트의 램프를 깜빡거리게 한다.
##

$  ethtool -p eno2
^C

 

반응형

 


 


테스트한 날짜:  2023년 2월 20일

 

 

 

DD 명령으로 Storage I/O 성능 확인

 

############################################################################
## 쓰기(output) 성능 확인
############################################################################

## Case: 저장 장치의 Cache memory(즉, Buffer memory)를 사용하는 경우
$ dd if=/dev/zero bs=1024 count=5000 of=/mnt/hdd1/my_test_file
5000+0 records in
5000+0 records out
5120000 bytes (5.1 MB, 4.9 MiB) copied, 0.0113672 s, 450 MB/s
$

## Case: 저장 장치의 Cache memory(즉, Buffer memory)를 사용하지 않는 경우,
##       oflag=direct  옵션을 추가한다.
$ dd if=/dev/zero bs=1024 count=5000 of=/mnt/hdd1/my_test_file oflag=direct
5000+0 records in
5000+0 records out
5120000 bytes (5.1 MB, 4.9 MiB) copied, 0.23691 s, 21.6 MB/s


############################################################################
## 읽기(input) 성능 확인
############################################################################

$ dd if=/mnt/hdd1/my_test_file of=/dev/null bs=1024
5000+0 records in
5000+0 records out
5120000 bytes (5.1 MB, 4.9 MiB) copied, 0.0123259 s, 415 MB/s
$

 

 


 

+ Recent posts