Ralph Ou
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- tags: linux2022 --- # 2022q1 Homework3 (fibdrv) contributed by < `oucs638` > > [Assignment](https://hackmd.io/@sysprog/linux2022-fibdrv) > [oucs638/fibdrv](https://github.com/oucs638/fibdrv) ## Development Environment :::spoiler Compiler ```shell $ gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0 ``` ::: :::spoiler Hardware ```shell $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian Address sizes: 39 bits physical, 48 bits virtual CPU(s): 12 On-line CPU(s) list: 0-11 Thread(s) per core: 2 Core(s) per socket: 6 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 158 Model name: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz Stepping: 13 CPU MHz: 2600.000 CPU max MHz: 4500.0000 CPU min MHz: 800.0000 BogoMIPS: 5199.98 Virtualization: VT-x L1d cache: 192 KiB L1i cache: 192 KiB L2 cache: 1.5 MiB L3 cache: 12 MiB NUMA node0 CPU(s): 0-11 ``` ::: :::spoiler Linux kernel version ```shell $ uname -r 5.13.0-30-generic ``` ::: :::spoiler Install `linux-headers` package. ```shell $ sudo apt install linux-headers-`uname -r` $ dpkg -L linux-headers-5.13.0-30-generic | grep "/lib/modules" /lib/modules /lib/modules/5.13.0-30-generic /lib/modules/5.13.0-30-generic/build ``` ::: :::spoiler Confirm user identity ```shell $ whoami oucs638 $ sudo whoami root ``` ::: :::spoiler Install tools ```shell $ sudo apt install util-linux strace gnuplot-nox ``` ::: ## Exclude factors that affect performance analysis - Isolate a CPU from the kernel scheduler. ```shell $ sudo vim /etc/default/grub ... // modify GRUB_CMDLINE_LINUX GRUB_CMDLINE_LINUX="isolcous=11" ``` - Update grub and reboot. ```shell $ sudo update-grub $ reboot ``` - Check whether the CPU was successfully isolated. ```shell $ taskset -cp 1 pid 1's current affinity list: 0-10 ``` - Restrain address space layout randomization (ASLR) ```shell $ sudo sh -c "echo 0 > /proc/sys/kernel/randomize_va_space" ``` - Create a shell script named `performance.sh` to set `scaling_governor` as `performance`. ```shell // performance.sh for i in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor do echo performance > ${i} done // execute script $ sudo sh performance.sh ``` - For Intel processors, turn off turbo mode. ```shell $ sudo sh -c "echo 1 > /sys/devices/system/cpu/intel_pstate/no_turbo" ``` ## Use class `clz/ctz` instructions to improve Fibonacci number operations. - Definition of Fibonacci number: $$ \left \{ \begin{split} & F_0 = 0, F_1 = 1 \\ & F_n = F_{n-1} + F_{n-2} , n \ge 2 \end{split} \right. $$ - Fibonacci number can be expressed as: $$ \vec{F_n} = \begin{bmatrix} F_n \\ F_{n-1} \end{bmatrix} = \begin{bmatrix} 1 & 1 \\ 1 & 0 \end{bmatrix} \cdot \begin{bmatrix} F_{n-1} \\ F_{n-2} \end{bmatrix} $$ - Implement in C code: ```c int F(int n) { if (n == 0 || n == 1) return n; return F(n - 1) + F(n - 2); } ``` - Assuming `n = 6`, the result of the program executing the function calls are as follows: ```graphviz strict digraph G { 1[label="F(6)"] 2[label="F(4)"] 3[label="F(5)"] 4[label="F(2)"] 5[label="F(3)"] 6[label="F(3)"] 7[label="F(4)"] 8[label="F(0)", style=filled] 9[label="F(1)", style=filled] 10[label="F(1)", style=filled] 11[label="F(2)"] 12[label="F(1)", style=filled] 13[label="F(2)"] 14[label="F(2)"] 15[label="F(3)"] 16[label="F(0)", style=filled] 17[label="F(1)", style=filled] 18[label="F(0)", style=filled] 19[label="F(1)", style=filled] 20[label="F(0)", style=filled] 21[label="F(1)", style=filled] 22[label="F(1)", style=filled] 23[label="F(2)", style=filled] 24[label="F(0)", style=filled] 25[label="F(1)", style=filled] 1 -> {2, 3} 2 -> {4, 5} 3 -> {6, 7} 4 -> {8, 9} 5 -> {10, 11} 6 -> {12, 13} 7 -> {14, 15} 11 -> {16, 17} 13 -> {18, 19} 14 -> {20, 21} 15 -> {22, 23} 23 -> {24, 25} } ``` - Obviously there are a lot of unnecessary repeated function calls. - Refer to [Calculating Fibonacci Numbers by Fast Doubling](https://chunminchang.github.io/blog/post/calculating-fibonacci-numbers-by-fast-doubling), the Fibonacci number can be redefined as: $$ \left \{ \begin{split} & F_0 = 0, F_1 = 1, F_2 = 1 \\ & F_{2n + 1} = {F_{n+1}}^2 + {F_{n}}^2 \\ & F_{2n} = F_n \cdot (2 \cdot F_{n + 1} - F_n) \\ & n \ge 0 \end{split} \right. $$ - Implement in C code: ```c int F(int n) { if (n == 0 || n == 1) return n; if (n == 2) return 1; int k = 0; if (n % 2) { k = (n - 1) / 2; return F(k) * F(k) + F(k + 1) * F(k + 1); } else { k = n / 2; return F(k) * (2 * F(k + 1) - F(k)); } } ``` - Assuming `n = 6`, the result of the program executing the function calls are as follows: ```graphviz strict digraph G { 1[label="F(6)"] 2[label="F(3)"] 3[label="F(4)"] 4[label="F(1)", style=filled] 5[label="F(2)", style=filled] 6[label="F(2)", style=filled] 7[label="F(3)"] 8[label="F(1)", style=filled] 9[label="F(2)", style=filled] 1 -> {2, 3} 2 -> {4, 5} 3 -> {6, 7} 7 -> {8, 9} } ``` - The Fast Doubling method can significantly reduce thr function calls required for program execution. - Because computers represent numbers in binary, we can start from MSB to determine which operation to perform. - Find `0` : Calculate $F_{2n}$ and $F_{2n + 1}$. - Find `1` : Calculate $F_{2n}$ and $F_{2n + 1}$ first, then calculate $F_{2n + 2}$. - But the actual number would not have lead 0s, so we can use class `ctz` instructions to count how many lead 0s and skip them. ## Development Progress Records - Test. ```shell $ make check make -C /lib/modules/5.13.0-30-generic/build M=/home/oucs638/GitHub/fibdrv modules make[1]: Entering directory '/usr/src/linux-headers-5.13.0-30-generic' make[1]: Leaving directory '/usr/src/linux-headers-5.13.0-30-generic' make unload make[1]: Entering directory '/home/oucs638/GitHub/fibdrv' sudo rmmod fibdrv || true >/dev/null rmmod: ERROR: Module fibdrv is not currently loaded make[1]: Leaving directory '/home/oucs638/GitHub/fibdrv' make load make[1]: Entering directory '/home/oucs638/GitHub/fibdrv' sudo insmod fibdrv.ko make[1]: Leaving directory '/home/oucs638/GitHub/fibdrv' sudo ./client > out make unload make[1]: Entering directory '/home/oucs638/GitHub/fibdrv' sudo rmmod fibdrv || true >/dev/null make[1]: Leaving directory '/home/oucs638/GitHub/fibdrv' Passed [-] f(93) fail input: 7540113804746346429 expected: 12200160415121876738 ``` - Observe the resulting `fibdrv.ko` module. ```shell $ modinfo fibdrv.ko filename: fibdrv.ko version: 0.1 description: Fibonacci engine driver author: National Cheng Kung University, Taiwan license: Dual MIT/GPL srcversion: 9A01E3671A116ADA9F2BB0A depends: retpoline: Y name: fibdrv vermagic: 5.13.0-30-generic SMP mod_unload modversions ``` - Observe the behavior of the `fibdrv.ko` after the linux kernel is mounted. ```shell $ sudo insmod fibdrv.ko $ ls -l /dev/fibonacci crw------- 1 root root 510, 0 Mar 7 01:50 /dev/fibonacci $ cat /sys/class/fibonacci/fibonacci/dev 510:0 $ cat /sys/module/fibdrv/version 0.1 $ lsmod | grep fibdrv fibdrv 16384 0 $ cat /sys/module/fibdrv/refcnt 0 ``` ### Calculate the Fibonacci number after the 93rd item (inclusive) - Refer to [assignment](https://hackmd.io/PMozqaxqRA-jF2KmgTZcPQ?view#%E8%A8%88%E7%AE%97-F93-%E5%8C%85%E5%90%AB-%E4%B9%8B%E5%BE%8C%E7%9A%84-Fibonacci-%E6%95%B8---%E4%BD%BF%E7%94%A8%E6%95%B8%E5%AD%97%E5%AD%97%E4%B8%B2%E4%B8%A6%E5%A5%97%E7%94%A8-quiz2-SSO-Small-String-Optimization), attempt to introduce big number that operate on string-number. - Use [Small/Short String Optimization](http://wdv4758h.github.io/notes/cpp/string-optimization.html). - Refer to the [example code](https://github.com/AdrianHuang/fibdrv/tree/big_number) provided in the assignment. - The example code only use string-number addition to calculate the Fibonacci number. - Expect to add a string-number subtraction and multiplication based on the addition-related code of the example code. - With string-number substraction and multiplication, fast doubling can be intoduced to calculate Fibonacci numbers. - But in this part, the Fibonacci number will be calculated by addtion first, and fast doubling will be introduced in the later part. - Because C99 variable-length array(VLA) is not allowed in Linux kernel, so I use `kmalloc` to allocate memory space for the array dynamically. ```shell ... /home/oucs638/GitHub/fibdrv/fibdrv.c: In function ‘fib_sequence’: /home/oucs638/GitHub/fibdrv/fibdrv.c:70:5: warning: ISO C90 forbids variable length array ‘f’ [-Wvla] 70 | bn f[k + 2]; | ^~ /home/oucs638/GitHub/fibdrv/fibdrv.c: In function ‘bn_add’: /home/oucs638/GitHub/fibdrv/fibdrv.c:263:5: warning: ISO C90 forbids variable length array ‘buf’ [-Wvla] 263 | char buf[size_a + 2]; | ^~~~ ... ``` - After calculate the Fibonacci number, the allocated memory space should be freed. ```c static int fib_sequence(long long k, char __user *buf) { /* FIXME: C99 variable-length array (VLA) is not allowed in Linux kernel. */ // bn f[k + 2]; bn *f = (bn *) kmalloc((k + 2) * sizeof(bn), GFP_KERNEL); f[0] = *bn_tmp("0"); f[1] = *bn_tmp("1"); for (int i = 2; i <= k; i++) bn_add(&f[i - 1], &f[i - 2], &f[i]); int res = bn_size(&f[k]); if (copy_to_user(buf, bn_data(&f[k]), res)) return -EFAULT; for (int i = 0; i <= k; i++) bn_free(&f[i]); return res; } ``` - String-number addition will reverse the string first, then add digit one by one from the least significant digit to the most significant digit. ```c static void bn_add(bn *a, bn *b, bn *out) { char *data_a, *data_b; size_t size_a, size_b; int i, s, c = 0; if (bn_size(a) < bn_size(b)) __swap((void *) &a, (void *) &b, sizeof(void *)); data_a = bn_data(a); data_b = bn_data(b); size_a = bn_size(a); size_b = bn_size(b); reverse_str(data_a, size_a); reverse_str(data_b, size_b); // char buf[size_a + 2]; char *buf = (char *) kmalloc((size_a + 2), GFP_KERNEL); for (i = 0; i < size_b; i++) { s = (data_a[i] - '0') + (data_b[i] - '0') + c; buf[i] = '0' + s % 10; c = s / 10; } for (i = size_b; i < size_a; i++) { s = (data_a[i] - '0') + c; buf[i] = '0' + s % 10; c = s / 10; } if (c) buf[i++] = '0' + c; buf[i] = 0; reverse_str(buf, i); reverse_str(data_a, size_a); reverse_str(data_b, size_b); if (out) *out = *bn_tmp(buf); } ``` ### Calculating Fibonacci Numbers by Fast Doubling (big number) - I found it challenging to overcome positive-negtive sign problem issues when implementing "fasting doubling" with string numbers. - It needs a lot of reallocating memory space to implement big-number operations with string number. - Refer to [eecheng87](https://github.com/eecheng87/fibdrv), rebuilt the big number operation. - Preset a space large enough for Fibonacci number value. - As [previous part](https://hackmd.io/4u8VJAWiTEafpMav-6BTuA?both#Use-class-clzctz-instructions-to-improve-Fibonacci-number-operations), the Fibonacci number can be represented as: $$ \left \{ \begin{split} & F_0 = 0, F_1 = 1, F_2 = 1 \\ & F_{2n + 1} = {F_{n+1}}^2 + {F_{n}}^2 \\ & F_{2n} = F_n \cdot (2 \cdot F_{n + 1} - F_n) \\ & n \ge 0 \end{split} \right. $$ - Expressed as functions: $$ \left \{ \begin{split} f(0) &= 0 = f(k) \\ f(1) &= 1 = f(k + 1) \\ f(2k) &= f(k) \cdot [2 \cdot f(k + 1) - f(k)] \\ &= 2 \cdot f(k) \cdot f(k + 1) - f(k) \cdot f(k) \\ f(2k + 1) &= {f(k)}^2 + {f(k + 1)}^2 \\ &= f(k) \cdot f(k) + f(k + 1) \cdot f(k + 1)\\ k &\ge 0 \\ \end{split} \right. $$ - Assume: $$ \left \{ \begin{split} t(0) &= f(k) \cdot f(k) \\ t(1) &= f(k + 1) \cdot f(k + 1) \\ f(2) &= 2 \cdot f(k) \cdot f(k + 1) \\ \end{split} \right. $$ - Because computers represent numbers in binary, we can start from MSB to determine which operation to perform. - Find `1` : next $k$ is odd. $$ \left \{ \begin{split} next\ \ \ \ k &= 2k + 1 \\ f(k) &= f(2k + 1) \\ &= t(0) + t(1) \\ f(k + 1) &= f(2k + 2) \\ &= f(2k) + f(2k + 1) \\ &= t(2) - t(0) + t(0) + t(1)\\ &= t(2) + t(1) \end{split} \right. $$ - Find `0` : next $k$ is even. $$ \left \{ \begin{split} next\ \ \ \ k &= 2k \\ f(k) &= f(2k) \\ &= t(2) - t(0) \\ f(k + 1) &= f(2k + 1) \\ &= t(0) + t(1) \end{split} \right. $$ - But the actual number would not have lead 0s, so we can use class `ctz` instructions to count how many lead 0s and skip them. - Use `__builtin_clzll(k)` for `typeof(k) = unsigned long long` ```c static bn fib_sequence(unsigned long long k) { bn f[2]; bn_init(&f[0], 0); // f(k) bn_init(&f[1], 1); // f(k + 1) if (k < 2) return f[k]; // t(0) = f(k) * f(k) // t(1) = f(k + 1) * f(k + 1) // t(2) = 2 * f(k) * f(k + 1) bn t[3]; // fast doubling // f(2k) = f(k) * [2 * f(k + 1) - f(k)] // = 2 * f(k) * f(k + 1) - f(k) * f(k) // = t(2) - t(0) // f(2k + 1) = f(k) ^ 2 + f(k + 1) ^ 2 // = f(k) * f(k) + f(k + 1) * f(k + 1) // = t(0) + t(1) for (unsigned long long i = 1U << (63 - __builtin_clzll(k)); i; i >>= 1) { bn_mul(&f[0], &f[0], &t[0]); // t(0) bn_mul(&f[1], &f[1], &t[1]); // t(1) bn_mul(&f[0], &f[1], &t[2]); bn_add(&t[2], &t[2], &t[2]); // t(2) if (i & k) { // next k = 2k + 1 // f(k) = f(2k + 1) = t(0) + t(1) bn_add(&t[0], &t[1], &f[0]); // f(k + 1) = f(2k + 2) = f(2k) + f(2k + 1) // = t(2) - t(0) + t(0) + t(1) // = t(2) + t(1) bn_add(&t[2], &t[1], &f[1]); } else { // next k = 2k // f(k) = f(2k) bn_sub(&t[2], &t[0], &f[0]); // f(k + 1) = f(2k + 1) bn_add(&t[0], &t[1], &f[1]); } } // return f(k) return f[0]; } ``` ## Analyze - Use big number. ![](https://i.imgur.com/cyltHbr.png) - Use builtin `int128`. ![](https://i.imgur.com/wgNBRxw.png) - Found that if used builtin `int128`, the execution time would have unpredictable peaks.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully