Websoft9 / manufacture

商品交付过程管理:销售计划、生产计划、生产、发布等
https://www.websoft9.com
1 stars 1 forks source link

research of OracleLinux images on Aliyun #2794

Open qiaofeng1227 opened 5 hours ago

qiaofeng1227 commented 5 hours ago
OracleLinux8.10,9.4

filesystem: ext4
Disk partition: 1(/dev/vda1)
LVM: no
os start mode: bios

Image Check Result:
Virtio                                                                                 [OK]
Nvme                                                                                   [OK]
Fstab                                                                                  [OK]
Grub                                                                                   [OK]
Dhcp                                                                                   [OK]
Selinux                                                                                [OK]
OnlineResizeFS                                                                         [OK]
CloudAssistant                                                                         [OK]
CloudInit                                                                              [OK]
SecurityCenterAgent                                                                    [OK]
SupportMocInstanceTypes                                                                [OK]
DiskUsage                                                                              [OK]
InodeUsage                                                                             [OK]
SystemFileAttribute                                                                    [OK]
CriticalUser                                                                           [OK]
QemuGuestAgent                                                                         [OK]
SshConfig                                                                              [OK]
Firewall                                                                               [OK]

------------------

OracleLinux7.9-20241122V1

filesystem: xfs
Disk partition: 1(/dev/vda1)
LVM: no
os start mode: bios

Image Check Result:
Virtio                                                                                 [OK]
Nvme                                                                                   [No]
Fstab                                                                                  [OK]
Grub                                                                                   [OK]
Dhcp                                                                                   [OK]
Selinux                                                                                [OK]
OnlineResizeFS                                                                         [OK]
CloudAssistant                                                                         [OK]
CloudInit                                                                              [OK]
SecurityCenterAgent                                                                    [OK]
SupportMocInstanceTypes                                                                [OK]
DiskUsage                                                                              [OK]
InodeUsage                                                                             [OK]
SystemFileAttribute                                                                    [OK]
CriticalUser                                                                           [OK]
QemuGuestAgent                                                                         [OK]
SshConfig                                                                              [OK]
Firewall                                                                               [OK]

--------------------------------------
OracleLinux7.9.01-NVMe驱动-重要勿删

filesystem: xfs
Disk partition: 4(/dev/vda1,vda2,vda14,vda15)
LVM: 2
os start mode: UEFI

Image Check Result
Virtio                                                                                 [OK]
Nvme                                                                                   [OK]
Fstab                                                                                  [OK]
Grub                                                                                   [OK]
Dhcp                                                                                   [OK]
Selinux                                                                                [OK]
OnlineResizeFS                                                                         [OK]
CloudAssistant                                                                       [WARN]
>> CloudAssist is not installed;
CloudInit                                                                              [OK]
SecurityCenterAgent                                                                    [OK]
SupportMocInstanceTypes                                                                [OK]
DiskUsage                                                                              [OK]
InodeUsage                                                                             [OK]
SystemFileAttribute                                                                    [OK]
CriticalUser                                                                           [OK]
QemuGuestAgent                                                                       [WARN]
>> Qemu guest agent should not installed. It will have a functional impact on ECS ;
SshConfig                                                                              [OK]
Firewall                                                                             [WARN]
>> The firewall application `firewalld` is enabled, which is expected to be disabled;
qiaofeng1227 commented 4 hours ago

install nvme :

sudo yum install kernel-uek -y
sudo reboot
sudo dracut --force --add-drivers "nvme" /boot/initramfs-$(uname -r).img $(uname -r)
sudo reboot

xfs file system vs ext4:

XFS File System
Benefits:

High performance: XFS excels at handling large files and highly concurrent I/O operations, making it suitable for big data and high-performance computing environments.
Scalability: XFS supports very large filesystems and files, up to 8 exabytes of filesystems and 8 exabytes of individual files.
Fast Recovery: XFS has an efficient logging mechanism that enables fast file system recovery.
Deferred Allocation: XFS uses a deferred allocation policy that reduces file fragmentation and improves performance.

ext4 file system
Benefits:

Widely used: ext4 is one of the most commonly used filesystems on Linux systems, with extensive community support and documentation.
Balanced performance: ext4 performs well with both small and large files, and is suitable for most general-purpose uses.
Metadata operation performance: ext4 performs well with large numbers of small files and frequent metadata operations.
Snapshot Support: ext4 can be used with LVM to support snapshots at the file system level.

Translated with DeepL.com (free version)
chendelin1982 commented 2 hours ago

to do

yum install -y oraclelinux-developer-release-e oracle-epel-release-e; fi python3 and pip at OracleLinux7? delete QemuGuestAgent