主講人: jserv / 課程討論區: 2025 年系統軟體課程
返回「Linux 核心設計」課程進度表Image Not Showing Possible ReasonsLearn More →
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
第一次作業檢討 (2023 年)*
解說錄影 (2021 年)
Every engineer is also a writer.
你可能會發現單頁 HackMD 筆記會有內容長度的限制,這也是為何作業規範強調要記錄你的洞見和關鍵程式碼,完整的程式碼該在 GitHub 儲存庫或 gist 出現。藉本次作業,整理既有的筆記,用精簡且明確的行文反映出你的投入。Image Not Showing Possible ReasonsLearn More →
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
lib/list_sort.c
實作並評估其效益、針對 Linux 核心風格的鏈結串列開發 Timsort 排序程式,該設計對應的排序測試實驗方案。
為了消除虛擬機器對於效能評估帶來非預期影響,你該在自己的電腦安裝 Linux,直接執行於電腦硬體之上。Image Not Showing Possible ReasonsLearn More →
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
lib/list_sort.c
修改紀錄 (即 commit b5c56e)中的 3 篇論文,闡述你的洞見,需要指出論文和現有 Linux 核心原始程式碼不同的地方,並予以討論,過程中該有對應的效能分析實驗。參考 CPython 的 listsort 的說明文件,對不同的資料分佈進行測試:git fetch
命令以取得 sysprog21/lab0-c 的最新更新,並利用 git rebase
將你已提交的 commit 移至 3 月 18 日或之後的更新之上。注意:在操作過程中可能會出現衝突,需自行解決。此外,請確保所有 commit 訊息皆符合〈How to Write a Git Commit Message〉的規範,必要時可使用 git rebase -i
命令進行修改,最終再以 git push --force
(請務必謹慎操作)將更新公開推送至 GitHub。確保你在 rebase 時,基底包含 commit 4a2ff9f
git rebase
示意:Image Not Showing Possible ReasonsLearn More →
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
確認已安裝所需的字典:sudo apt install wamerican
你可建立新的 HackMD 筆記 (記得要公開發表並設定所有登入者皆可編輯) 來闡述你對教材的認知,並在原本的筆記加上對應的超連結。Image Not Showing Possible ReasonsLearn More →
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
shannon_entropy.c
和 log2_lshift16.h
,採用更有效、準確度 (accuracy) 更高的定點數運算實作,需要有對應的數學統計分析和實際執行的討論。
Linux 核心原始程式碼 fs/btrfs/compression.c 存在 Shannon Entropy 的計算,其程式碼註解提到 "Use of ilog2() decreases precision, we lower the LVL to 5 to compensate"。檔名的 "compression" 意味著 btrfs 檔案系統具備壓縮,而這機制就用到 Shannon Entropy 進行估算。
Reviewed by 你的GitHub帳號名稱
的段落,參見: 示範的 Review-1 和 示範的 Review-2,你的總結意見要寫在共筆的最上方,僅次於 "contributed by"。要從以下方面探討:
及早提交對學員的意見並藉由 HackMD 平台互動Image Not Showing Possible ReasonsLearn More →
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
不必擔心得罪人而刻意用委婉或模糊的詞彙,如此非但不利於有效溝通,還可能導致真正的訊息丟失。關鍵是不要過分拘謹於形式,若因你沒有直接說出問題,導致他人錯失學習機會,那才是真正的失禮 —— 真誠地分享你的專業知識,讓溝通能夠達到共鳴,才是真正展現禮貌的方式。Image Not Showing Possible ReasonsLearn More →
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported