タグ

kernelに関するNnwwwのブックマーク (11)

  • VFSとファイルシステムの基礎技術


    Linux  2.4LinuxOS1Linuxext2ext3ReiserFSJFSXFS   
    VFSとファイルシステムの基礎技術
  • perf, ftraceのしくみ - 睡分不足

    Linuxのトレーサーであるperfやftraceのツールの使い方に関する情報は結構ありますが,構造に関してはあまり見つけられなかったため,ここに簡単に調べたことをまとめようかと思います.(ツールの使い方の説明はあんまりしないです.) この文章はLinux 4.15のソースに基づいています. 全体像 ftrace function trace tracepoint (static event) kprobe (dynamic event) その他のtracer trace-cmd perf PERF_TYPE_HARDWARE, HW_CACHE, RAW PERF_TYPE_SOFTWARE PERF_TYPE_TRACEPOINT PERF_TYPE_BREAKPOINT USDT (SDT Event) perf-tools perf ftrace straceとの比較 その他 pe

    perf, ftraceのしくみ - 睡分不足
  • Background

    The article requires some prerequisite knowledge about Linux kernel memory management subsystem. Recently, while investigating an OOM (out-of-memory) problem, Twitter engineers found that the slab cache was increasing consistently, but the page cache was decreasing consistently. A closer look showed that the highest consumption of the slab cache was the dentry cache, and the dentry caches were cha

    Background
    Nnwww
    Nnwww 2021/05/17
    カーネルデバッグ体験談。活用できたことないけどなるほどカーネルでデバッガ走らせて調査するということもあるのか...
  • Linux Storage Stack Diagram - Thomas-Krenn-Wiki-en

    The Linux Storage Stack Diagram shows the layout of the the Linux storage stack. Downloads Diagram for Linux Kernel 6.9 Linux Storage Stack Diagram v6.9): Linux I/O Stack Diagram v6.2 (20230309): ZIP (includes .drawio and .svg) PDF PNG Changelog: dm-vdo added (Kernel 6.9) ext2 removed (Kernel 6.9, ext2 wird nun so wie ext3 auch durch den ext4 Code unterstützt) bcachefs added (Kernel 6.7) EROFS add

  • How io_uring and eBPF Will Revolutionize Programming in Linux

    Things will never be the same again after the dust settles. And yes, I’m talking about Linux. As I write this, most of the world is in lockdown due to COVID-19. It’s hard to say how things will look when this is over (it will be over, right?), but one thing is for sure: the world is no longer the same. It’s a weird feeling: it’s as if we ended 2019 in one planet and started 2020 in another. While

    How io_uring and eBPF Will Revolutionize Programming in Linux
    Nnwww
    Nnwww 2021/03/02
    基本的にio_uringの説明、ブロックIO -> aio -> io_uringの流れを追いかけていてモチベが分かりやすい。
  • linux-sched-history.pdf - Speaker Deck

    多言語化対応における TypeScript の型定義を通して開発のしやすさについて考えた / TSKaigi TypeScript Multilingualization

    linux-sched-history.pdf - Speaker Deck
  • x86_64 Linuxでの仮想アドレス/物理アドレス - 睡分不足


    Linux Device Driver Chapter 15 Linux5 User virtual address Physical address Bus address Kernel logical address Kenerl virtual address User virtual address Physical addressBus address使 Physical address Kernel logical addressKenel virtual address Linux使
    x86_64 Linuxでの仮想アドレス/物理アドレス - 睡分不足
  • Linuxカーネルのソースコードを機能とレイヤーで分類して表示してくれる「Linux kernel map」

    Linuxのカーネルは膨大な数のソースコードから成り立っており、どこに何の処理が書いてあるのかぱっと見当をつけるのにはかなりコードを読み込む必要があります。「Interactive map of Linux kernel」はそのソースコードを機能とレイヤーで分類して表示してくれるサイトということで、使い勝手を試してみました。 Interactive map of Linux kernel http://www.makelinux.net/kernel_map/ サイトにアクセスし、ロードが終わると下の画像のように6列6行の表が表示されます。列が機能の分類を表しており、「インターフェース」「システム」「処理」「メモリー」「ストレージ」「ネットワーク」という分類になっています。行はレイヤーを表しており、上からシステムコールなどの「ユーザースペースインターフェース」、「バーチャル」、「ブリッジ」

    Linuxカーネルのソースコードを機能とレイヤーで分類して表示してくれる「Linux kernel map」
  • Linuxカーネルの新機能 XDP (eXpress Data Path) を触ってみる - yunazuno.log


    netdev 1.2XDP(eXpress Data Path) XDP調 XDP Intel DPDKLinux A programmable, high performance, specialized application, packet processor in the Linux networking data path  DPDKNIC(=)XDPNIC
    Linuxカーネルの新機能 XDP (eXpress Data Path) を触ってみる - yunazuno.log
  • 特定条件下のclone(2)を4倍速くする - 人間とウェブの未来


    CPU使 perf top 22.38% [kernel] [k] copy_pte_range 18.44% [kernel] [k] zap_pte_range 11.13% [kernel] [k] change_pte_range 3.58% [kernel] [k] page_fault 3.32% [kernel] [k] page_remove_rmap straceclone0.05120clone100% sudo strace -T -o/dev/stdo
    特定条件下のclone(2)を4倍速くする - 人間とウェブの未来
  • process-book


     *nix  gist github       prefork  kill  epub  pdf epubpdf release thanks to mitukiii & moznion       -  3.0 
  • 1