Обсуждение:RaspberryPi
ALT vs Raspbian на RPi 3b+
Попробовал я ALT LxQT для aarch64.
Для сравнения потом поставил Raspbian 32-bit (с LXDE).
Технические характеристики
- 64-битный ARM-процессор, 4 ядра, частота 1,4 ГГц
- ОЗУ LPDDR2 1 Гб
ALT
У ALT LXDE и 32-bit нет, попробуем Lxqt 64-bit.
- Скачиваем образ aarch64 и записываем на карточку.
- для корректного отображения GTK-программ и заголовков LxQT нужно установить пакет xorg-96dpi
- для сжатия памяти ставим zram и alterator-zram-swap
- делаем файл Swap
ALT Starterkit LxQt | |
---|---|
Разрядность | 64-bit |
Среда | LxQt |
Объем ОЗУ после загрузки | 370 мб |
Занятое место с программами | 8,3 Гб / 32 Гб |
ПО |
|
Дополнительные утилиты |
(нету) |
Список запущенных процессов |
---|
$ pstree systemd─┬─ModemManager───2*[{ModemManager}] ├─NetworkManager───2*[{NetworkManager}] ├─alteratord───2*[{alteratord}] ├─blueman-mechani───2*[{blueman-mechani}] ├─bluetoothd ├─chronyd ├─crond ├─dbus-daemon ├─lightdm─┬─X───{X} │ ├─lightdm─┬─lxqt-session─┬─blueman-applet───3*[{blueman-applet}+ │ │ │ ├─blueman-tray───3*[{blueman-tray}] │ │ │ ├─lxqt-globalkeys───3*[{lxqt-globalkey+ │ │ │ ├─lxqt-notificati───2*[{lxqt-notificat+ │ │ │ ├─lxqt-panel───5*[{lxqt-panel}] │ │ │ ├─lxqt-policykit-───4*[{lxqt-policykit+ │ │ │ ├─lxqt-powermanag───3*[{lxqt-powermana+ │ │ │ ├─lxqt-runner───2*[{lxqt-runner}] │ │ │ ├─nm-applet───3*[{nm-applet}] │ │ │ ├─openbox │ │ │ ├─pcmanfm-qt───5*[{pcmanfm-qt}] │ │ │ ├─pulseaudio───2*[{pulseaudio}] │ │ │ ├─qlipper───2*[{qlipper}] │ │ │ ├─qterminal─┬─bash───pstree │ │ │ │ └─2*[{qterminal}] │ │ │ ├─xscreensaver───xscreensaver-sy │ │ │ └─3*[{lxqt-session}] │ │ └─2*[{lightdm}] │ └─2*[{lightdm}] ├─polkitd───7*[{polkitd}] ├─ssh-agent ├─sshd ├─systemd─┬─(sd-pam) │ ├─at-spi-bus-laun─┬─dbus-daemon │ │ └─3*[{at-spi-bus-laun}] │ ├─at-spi2-registr───2*[{at-spi2-registr}] │ ├─dbus-daemon │ ├─gvfs-gphoto2-vo───2*[{gvfs-gphoto2-vo}] │ ├─gvfs-mtp-volume───2*[{gvfs-mtp-volume}] │ ├─gvfs-udisks2-vo───3*[{gvfs-udisks2-vo}] │ ├─gvfsd─┬─gvfsd-trash───2*[{gvfsd-trash}] │ │ └─2*[{gvfsd}] │ ├─gvfsd-fuse───5*[{gvfsd-fuse}] │ └─obexd ├─systemd-journal ├─systemd-logind ├─systemd-udevd ├─systemd-userdbd───3*[systemd-userwor] ├─udisksd───4*[{udisksd}] ├─upowerd───2*[{upowerd}] └─wpa_supplicant |
Список загруженных модулей ядра |
---|
$ lsmod Module Size Used by rfcomm 53248 16 lz4 16384 16 lz4_compress 40960 1 lz4 zram 28672 8 af_packet 57344 12 qrtr 45056 4 algif_hash 16384 1 aes_neon_bs 20480 1 aes_neon_blk 28672 4 aes_neon_bs algif_skcipher 16384 1 af_alg 32768 6 algif_hash,algif_skcipher bnep 28672 2 btsdio 16384 0 brcmfmac 311296 0 brcmutil 20480 1 brcmfmac cfg80211 962560 1 brcmfmac joydev 32768 0 input_leds 16384 0 cpufreq_dt 16384 0 bcm2835_v4l2 45056 0 bcm2835_mmal_vchiq 28672 1 bcm2835_v4l2 videobuf2_vmalloc 16384 1 bcm2835_v4l2 hid_generic 16384 0 videobuf2_memops 16384 1 videobuf2_vmalloc videobuf2_v4l2 32768 1 bcm2835_v4l2 videobuf2_common 69632 4 videobuf2_vmalloc,videobuf2_v4l2,bcm2835_v4l2,videobuf2_memops raspberrypi_cpufreq 16384 0 videodev 282624 3 videobuf2_v4l2,bcm2835_v4l2,videobuf2_common nls_utf8 16384 1 microchip 16384 1 nls_cp866 20480 1 snd_bcm2835 28672 1 vfat 24576 1 mc 69632 3 videodev,videobuf2_v4l2,videobuf2_common evdev 28672 9 lan78xx 53248 0 fat 90112 1 vfat usbhid 61440 0 hid 151552 2 usbhid,hid_generic hci_uart 114688 0 btqca 20480 1 hci_uart btrtl 20480 1 hci_uart sdhci_iproc 16384 0 sdhci_pltfm 16384 1 sdhci_iproc btbcm 24576 1 hci_uart sdhci 73728 2 sdhci_pltfm,sdhci_iproc btintel 40960 1 hci_uart bluetooth 585728 43 btrtl,btqca,btsdio,btintel,hci_uart,btbcm,bnep,rfcomm raspberrypi_hwmon 16384 0 hwmon 40960 1 raspberrypi_hwmon clk_raspberrypi 16384 2 ecdh_generic 16384 2 bluetooth bcm2835_wdt 16384 0 rfkill 36864 7 bluetooth,cfg80211 pwm_bcm2835 16384 0 bcm2835_thermal 16384 0 vchiq 339968 2 snd_bcm2835,bcm2835_mmal_vchiq bcm2835_rng 16384 0 rng_core 28672 1 bcm2835_rng i2c_bcm2835 16384 0 pwrseq_simple 16384 1 crct10dif_ce 16384 1 leds_gpio 16384 0 phy_generic 16384 0 sch_fq_codel 20480 3 snd_seq_midi 16384 0 snd_seq_midi_event 16384 1 snd_seq_midi snd_seq 86016 2 snd_seq_midi,snd_seq_midi_event snd_rawmidi 45056 1 snd_seq_midi snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi fuse 147456 3 efi_pstore 16384 0 dm_mod 163840 0 ip_tables 32768 0 x_tables 57344 1 ip_tables autofs4 45056 2 mmc_block 53248 2 vc4 299008 10 snd_soc_hdmi_codec 20480 1 snd_soc_core 274432 2 vc4,snd_soc_hdmi_codec ac97_bus 16384 1 snd_soc_core snd_pcm_dmaengine 20480 1 snd_soc_core snd_pcm 143360 4 snd_bcm2835,snd_soc_hdmi_codec,snd_soc_core,snd_pcm_dmaengine snd_timer 49152 2 snd_seq,snd_pcm snd 118784 14 snd_seq,snd_seq_device,snd_bcm2835,snd_soc_hdmi_codec,snd_timer,snd_soc_core,snd_pcm,snd_rawmidi soundcore 16384 1 snd drm_display_helper 172032 1 vc4 cec 61440 2 vc4,drm_display_helper rc_core 57344 2 cec drm_dma_helper 20480 1 vc4 drm_kms_helper 208896 5 drm_dma_helper,vc4,drm_display_helper dwc2 196608 0 bcm2835 28672 0 drm 638976 11 drm_kms_helper,drm_dma_helper,vc4,drm_display_helper mmc_core 180224 7 sdhci,bcm2835,mmc_block,btsdio,sdhci_iproc,brcmfmac,pwrseq_simple udc_core 73728 1 dwc2 roles 20480 1 dwc2 bcm2835_dma 20480 2 uio_pdrv_genirq 16384 0 uio 28672 1 uio_pdrv_genirq |
Список служб |
---|
# systemctl list-unit-files --type=service UNIT FILE STATE VENDOR PRESET alsa-restore.service static - alsa-state.service static - alteratord.service enabled disabled altlinux-first_time.service static - autovt@.service alias - blk-availability.service disabled disabled blueman-mechanism.service disabled disabled bluetooth.service enabled enabled bluetoothd.service alias - canberra-system-bootup.service disabled disabled canberra-system-shutdown-reboot.service disabled disabled canberra-system-shutdown.service disabled disabled chrony-wait.service disabled disabled chronyd.service enabled enabled clock.service generated - colord.service static - console-getty.service disabled disabled consolesaver.service disabled disabled container-getty@.service static - crond.service enabled enabled cryptdisks.functions.service generated - dbus-org.bluez.service alias - dbus-org.freedesktop.hostname1.service alias - dbus-org.freedesktop.locale1.service alias - dbus-org.freedesktop.login1.service alias - dbus-org.freedesktop.ModemManager1.service alias - dbus-org.freedesktop.nm-dispatcher.service alias - dbus-org.freedesktop.oom1.service alias - dbus-org.freedesktop.timedate1.service alias - dbus.service static - debug-shell.service disabled disabled display-manager.service alias - dm-event.service static - dm.service alias - dnsmasq.service disabled disabled emergency.service static - fbsetfont.service masked disabled fstrim.service static - geoclue.service static - getty@.service enabled enabled gpm.service disabled enabled halt.service alias - hddtemp.service disabled disabled initrd-cleanup.service static - initrd-parse-etc.service static - initrd-switch-root.service static - initrd-udevadm-cleanup-db.service static - ipsec.service disabled disabled iptables.service disabled disabled keytable.service masked disabled killall.service masked disabled kmod-static-nodes.service static - ldconfig.service static - lightdm.service enabled enabled lm_sensors.service disabled disabled local.service alias - logrotate.service static - lvm2-lvmpolld.service static - lvm2-monitor.service disabled enabled mdadm-grow-continue@.service static - mdadm-last-resort@.service static - mdadm.service alias - mdmon.service static - mdmon@.service static - mdmonitor.service static - messagebus.service alias - ModemManager.service enabled enabled modprobe@.service static - netfs.service masked disabled network.service enabled disabled network@.service disabled disabled NetworkManager-dispatcher.service enabled enabled NetworkManager-wait-online.service enabled disabled NetworkManager.service enabled enabled nm-priv-helper.service static - nvmefc-boot-connections.service disabled disabled nvmf-autoconnect.service disabled disabled nvmf-connect@.service static - openvpn-client@.service disabled disabled openvpn-server@.service disabled disabled openvpn.service disabled disabled openvpn@.service disabled disabled pam_namespace.service static - plymouth-halt.service static - plymouth-kexec.service static - plymouth-poweroff.service static - plymouth-quit-wait.service static - plymouth-quit.service static - plymouth-read-write.service static - plymouth-reboot.service static - plymouth-start.service static - plymouth-switch-root-initramfs.service static - plymouth-switch-root.service static - plymouth.service alias - polkit.service static - pppoe.service generated - prefdm.service disabled disabled qemu-guest-agent.service disabled enabled quotaon.service static - random.service alias - rc-local.service static - rdisc.service disabled disabled reboot.service alias - rescue.service static - rpcbind.service disabled disabled serial-getty@.service disabled disabled single.service masked disabled smartd.service disabled enabled spice-vdagentd.service indirect enabled sshd.service enabled enabled strongswan-starter.service disabled disabled sysfs.service disabled disabled system-update-cleanup.service static - systemd-ask-password-console.service static - systemd-ask-password-plymouth.service static - systemd-ask-password-wall.service static - systemd-backlight@.service static - systemd-binfmt.service static - systemd-bless-boot.service static - systemd-boot-check-no-failures.service disabled disabled systemd-boot-system-token.service static - systemd-exit.service static - systemd-fsck-root.service enabled-runtime disabled systemd-fsck@.service static - systemd-growfs@-.service generated - systemd-halt.service static - systemd-hibernate-resume@.service static - systemd-hibernate.service static - systemd-hostnamed.service static - systemd-hwdb-update.service static - systemd-hybrid-sleep.service static - systemd-initctl.service static - systemd-journal-catalog-update.service static - systemd-journal-flush.service static - systemd-journald.service static - systemd-journald@.service static - systemd-kexec.service static - systemd-localed.service static - systemd-logind.service static - systemd-machine-id-commit.service static - systemd-modules-load.service static - systemd-oomd.service disabled disabled systemd-poweroff.service static - systemd-pstore.service enabled enabled systemd-quotacheck.service static - systemd-random-seed.service static - systemd-reboot.service static - systemd-remount-fs.service enabled-runtime disabled systemd-repart.service static - systemd-rfkill.service static - systemd-suspend-then-hibernate.service static - systemd-suspend.service static - systemd-sysctl.service static - systemd-sysext.service disabled disabled systemd-timedated.service static - systemd-tmpfiles-clean.service static - systemd-tmpfiles-setup-dev.service static - systemd-tmpfiles-setup.service static - systemd-udev-settle.service static - systemd-udev-trigger.service static - systemd-udevd.service static - systemd-update-done.service static - systemd-update-utmp-runlevel.service static - systemd-update-utmp.service static - systemd-user-sessions.service static - systemd-userdbd.service indirect disabled systemd-vconsole-setup.service static - systemd-volatile-root.service static - tmpfiles.service alias - udevd.service alias - udisks2.service disabled enabled upower.service disabled enabled usb_modeswitch@.service static - user-runtime-dir@.service static - user@.service static - vconsole-setup-kludge@.service disabled disabled wpa_supplicant-nl80211@.service disabled disabled wpa_supplicant-wired@.service disabled disabled wpa_supplicant.service disabled disabled wpa_supplicant@.service disabled disabled x11presetdrv.service enabled enabled x11vnc.service disabled disabled xfs_scrub@.service static - xfs_scrub_all.service static - xfs_scrub_fail@.service static - xl2tpd.service disabled disabled zram-swap.service enabled disabled 187 unit files listed. |
Список запущенных служб |
---|
# systemctl list-units --type=service UNIT LOAD ACTIVE SUB DESCRIPTION alsa-restore.service loaded active exited Save/Restore Sound Card State alteratord.service loaded active running Alterator backend server bluetooth.service loaded active running Bluetooth service chronyd.service loaded active running NTP client/server crond.service loaded active running Vixie Cron Daemon dbus.service loaded active running D-Bus System Message Bus kmod-static-nodes.service loaded active exited Create List of Static Device Nodes lightdm.service loaded active running Light Display Manager ModemManager.service loaded active running Modem Manager network.service loaded active exited Network Connectivity NetworkManager.service loaded active running Network Manager plymouth-quit-wait.service loaded active exited Hold until boot process finishes up plymouth-read-write.service loaded active exited Tell Plymouth To Write Out Runtime Data polkit.service loaded active running Authorization Manager sshd.service loaded active running OpenSSH server daemon systemd-fsck-root.service loaded active exited File System Check on Root Device systemd-fsck@dev-disk-by\x2duuid-F2B5\x2dFDB9.service loaded active exited File System Check on /dev/disk/by-uuid/F2B5-FDB9 systemd-growfs@-.service loaded active exited Grow File System on / systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage systemd-journald.service loaded active running Journal Service systemd-logind.service loaded active running User Login Management systemd-modules-load.service loaded active exited Load Kernel Modules systemd-random-seed.service loaded active exited Load/Save Random Seed systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems systemd-sysctl.service loaded active exited Apply Kernel Variables systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories systemd-udev-settle.service loaded active exited Wait for udev To Complete Device Initialization systemd-udev-trigger.service loaded active exited Coldplug All udev Devices systemd-udevd.service loaded active running Rule-based Manager for Device Events and Files systemd-update-utmp.service loaded active exited Record System Boot/Shutdown in UTMP systemd-user-sessions.service loaded active exited Permit User Sessions systemd-userdbd.service loaded active running User Database Manager systemd-vconsole-setup.service loaded active exited Setup Virtual Console udisks2.service loaded active running Disk Manager upower.service loaded active running Daemon for power management user-runtime-dir@500.service loaded active exited User Runtime Directory /run/user/500 user@500.service loaded active running User Manager for UID 500 vconsole-setup-kludge@tty1.service loaded active exited Setup Virtual Console on tty1 wpa_supplicant.service loaded active running WPA supplicant zram-swap.service loaded active exited Enable and configure zram-swap module LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 41 loaded units listed. Pass --all to see loaded but inactive units, too. To show all installed unit files use 'systemctl list-unit-files'. |
Raspbian
Raspbian | |
---|---|
Разрядность | 32-bit |
Среда | LXDE |
Объем ОЗУ после загрузки | 165 мб |
Занятое место с программами | 7,4 Гб / 32 Гб |
ПО |
|
Дополнительные утилиты |
|
Список запущенных процессов |
---|
$ pstree systemd─┬─ModemManager───2*[{ModemManager}] ├─applet.py ├─avahi-daemon───avahi-daemon ├─bluetoothd ├─cron ├─cups-browsed───2*[{cups-browsed}] ├─cupsd ├─dbus-daemon ├─dhcpcd ├─hciattach ├─lightdm─┬─Xorg───{Xorg} │ ├─lightdm─┬─lxsession─┬─lxpanel─┬─lxterminal─┬─bash───pstree │ │ │ │ │ └─3*[{lxterminal+ │ │ │ │ └─5*[{lxpanel}] │ │ │ ├─lxpolkit───2*[{lxpolkit}] │ │ │ ├─openbox │ │ │ ├─pcmanfm───2*[{pcmanfm}] │ │ │ ├─ssh-agent │ │ │ └─2*[{lxsession}] │ │ └─2*[{lightdm}] │ └─2*[{lightdm}] ├─login───bash ├─menu-cached───2*[{menu-cached}] ├─packagekitd───2*[{packagekitd}] ├─polkitd───2*[{polkitd}] ├─rngd───3*[{rngd}] ├─rsyslogd───3*[{rsyslogd}] ├─rtkit-daemon───2*[{rtkit-daemon}] ├─ssh-agent ├─sshd ├─systemd─┬─(sd-pam) │ ├─dbus-daemon │ ├─gvfs-afc-volume───3*[{gvfs-afc-volume}] │ ├─gvfs-goa-volume───2*[{gvfs-goa-volume}] │ ├─gvfs-gphoto2-vo───2*[{gvfs-gphoto2-vo}] │ ├─gvfs-mtp-volume───2*[{gvfs-mtp-volume}] │ ├─gvfs-udisks2-vo───3*[{gvfs-udisks2-vo}] │ ├─gvfsd─┬─gvfsd-trash───2*[{gvfsd-trash}] │ │ └─2*[{gvfsd}] │ ├─gvfsd-fuse───5*[{gvfsd-fuse}] │ ├─pipewire─┬─pipewire-media-───{pipewire-media-} │ │ └─{pipewire} │ └─pulseaudio───2*[{pulseaudio}] ├─systemd-journal ├─systemd-logind ├─systemd-timesyn───{systemd-timesyn} ├─systemd-udevd ├─thd ├─udisksd───4*[{udisksd}] └─2*[wpa_supplicant] |
Список загруженных модулей ядра |
---|
$ lsmod ^[[6~Module Size Used by xpad 32768 0 ff_memless 16384 1 xpad joydev 20480 0 rfcomm 49152 4 cmac 16384 2 algif_hash 16384 1 aes_arm_bs 24576 2 crypto_simd 16384 1 aes_arm_bs cryptd 24576 2 crypto_simd algif_skcipher 16384 1 af_alg 28672 6 algif_hash,algif_skcipher bnep 20480 2 hci_uart 40960 1 btbcm 20480 1 hci_uart bluetooth 503808 31 hci_uart,bnep,btbcm,rfcomm ecdh_generic 16384 1 bluetooth ecc 40960 1 ecdh_generic 8021q 32768 0 garp 16384 1 8021q stp 16384 1 garp llc 16384 2 garp,stp vc4 315392 7 snd_soc_hdmi_codec 16384 1 drm_display_helper 16384 1 vc4 cec 49152 1 vc4 drm_dma_helper 20480 1 vc4 drm_kms_helper 188416 4 drm_dma_helper,vc4 snd_soc_core 253952 2 vc4,snd_soc_hdmi_codec brcmfmac 335872 0 brcmutil 20480 1 brcmfmac snd_compress 20480 1 snd_soc_core snd_pcm_dmaengine 20480 1 snd_soc_core syscopyarea 16384 1 drm_kms_helper sha256_generic 16384 0 sysfillrect 16384 1 drm_kms_helper sysimgblt 16384 1 drm_kms_helper fb_sys_fops 16384 1 drm_kms_helper cfg80211 811008 1 brcmfmac bcm2835_codec 45056 0 v4l2_mem2mem 40960 1 bcm2835_codec bcm2835_isp 32768 0 bcm2835_v4l2 45056 0 bcm2835_mmal_vchiq 36864 3 bcm2835_isp,bcm2835_codec,bcm2835_v4l2 rfkill 32768 6 bluetooth,cfg80211 raspberrypi_hwmon 16384 0 videobuf2_dma_contig 20480 2 bcm2835_isp,bcm2835_codec videobuf2_vmalloc 16384 1 bcm2835_v4l2 videobuf2_memops 16384 2 videobuf2_dma_contig,videobuf2_vmalloc videobuf2_v4l2 32768 4 bcm2835_isp,bcm2835_codec,bcm2835_v4l2,v4l2_mem2mem videobuf2_common 65536 8 bcm2835_isp,bcm2835_codec,videobuf2_dma_contig,videobuf2_vmalloc,videobuf2_memops,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2 videodev 266240 6 bcm2835_isp,bcm2835_codec,videobuf2_common,bcm2835_v4l2,v4l2_mem2mem,videobuf2_v4l2 i2c_bcm2835 16384 0 snd_bcm2835 24576 1 snd_pcm 118784 5 snd_compress,snd_pcm_dmaengine,snd_soc_hdmi_codec,snd_bcm2835,snd_soc_core vc_sm_cma 32768 2 bcm2835_isp,bcm2835_mmal_vchiq snd_timer 36864 1 snd_pcm snd 94208 12 snd_compress,snd_soc_hdmi_codec,snd_timer,snd_bcm2835,snd_soc_core,snd_pcm mc 53248 6 bcm2835_isp,bcm2835_codec,videobuf2_common,videodev,v4l2_mem2mem,videobuf2_v4l2 fixed 16384 0 uio_pdrv_genirq 16384 0 uio 24576 1 uio_pdrv_genirq drm 544768 8 drm_dma_helper,vc4,drm_display_helper,drm_kms_helper i2c_dev 16384 0 fuse 131072 3 drm_panel_orientation_quirks 16384 1 drm backlight 20480 1 drm ip_tables 28672 0 x_tables 36864 1 ip_tables ipv6 520192 82 |
Список служб |
---|
$ |
Список запущенных служб |
---|
$ |
Идеи
- сделать 32-bit дистрибутив + использование LXDE (меньше памяти будет есть) (Simply при загрузке съедает уже мб 600 из 1 гб)
--Petr-akhlamov (обсуждение) 20:32, 5 января 2024 (UTC)