測量CPU的效能,在科學計算與產業界常用的會是SPEC CPU這個基準,從CPU89, CPU92, CPU95, CPU2000, CPU2006到CPU2017。最新版本是2017年發表的SPEC CPU® 2017,和SPEC CPU® 2006一樣是要從原始碼編譯,使用文字介面下指令去跑CPU benchmark。此軟體含43個基準(benchmarks),分成四套(Suite)評斷標準:
2022年10月21日 星期五
2022年9月20日 星期二
樹梅派3的有線網路設定固定IP位址
安裝Raspberry Pi OS (32-bit, Debian 11 Bulleye改) 的raspberry pi 3,要設定有線網路eth0成固定IP,需要修改/etc/dhcpcd.conf(注意檔名的dhcp後面加cd,不是只有d)這個檔案,大約在43行做友會有Example static IP configuration的字樣,設定如下:
interface eth0
static ip_address=192.168.x.x
#static routers=x.x.x.x
static domain_name_servers=192.168.x.x
這邊要注意到這張網卡是拿來對內使用,所以不設定router。
2022年9月19日 星期一
樹梅派3的無線網路用DHCP自動取得IP
安裝Raspberry Pi OS (32-bit, Debian 11 Bulleye改) 的raspberry pi 3,因為本身硬體就已經帶有無線網路Wifi硬體,故只要裝好以後使用圖形介面找到Wifi的SSID並登入,那麼系統本身就會把Wifi密碼給記住。要設定無線Wifi網路用的是DHCP來抓IP,只要設定 /etc/network/interfaces 這個檔案如下:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source /etc/network/interfaces.d/*
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
這樣wlan0連到Wifi以後就會用DHCP去自動抓IP位址了,再用指令重新啟動網路介面:
2022年9月16日 星期五
用AOMEI將USB隨身碟做映像檔或對拷
搞不定安裝在樹梅派Raspberry Pi 3 上Ubuntu 20.04的藍牙鍵盤滑鼠,故重灌回原來樹梅派官網建議的作業系統Raspberry Pi OS (32-bit)。做這件事情之前要把原來SDHC卡上面的系統給備份出來。使用軟體AOMEI Backupper,有一個版本是freeware:
要收費的兩個版本如下,都是買斷價格也差不多都是$50左右:
- AOMEI Backupper Professional:個人使用,功能較多
- AOMEI Backupper Workstation:企業使用,完整功能
功能大致可以分成下面幾項:
Labels:
Backup備份與轉移,
RaspberryPi樹莓派,
Stable Diffusion Prompt,
USB碟與SD卡,
Windows
2022年9月15日 星期四
Ubuntu 20.04設定多組Wifi連線的帳密
在Raspberry Pi 3上安裝的Ubuntu 20.04,需要設定多組Wifi帳密。方法是修改 /etc/netplan/50-cloud-init.yaml 這個檔案如下:
network:
version: 2
wifis:
renderer: networkd
wlan0:
access-points:
"The First SSID":
password: "Password for 1st SSID"
"The Second SSID":
password: "Passowrd for the 2nd SSID"
dhcp4: true
Labels:
Network網路,
olallieberry,
Stable Diffusion Prompt,
Ubuntu
訂閱:
文章 (Atom)




