Skip to content

Instantly share code, notes, and snippets.

@pete
Created August 23, 2013 03:50

Revisions

  1. pete created this gist Aug 23, 2013.
    21 changes: 21 additions & 0 deletions 0readme
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,21 @@
    I was waiting for a Linux kernel to build. It seems to take
    longer to configure a new kernel every time, like the number
    of options have been steadily increasing. I thought I might
    be hallucinating, you know? Maybe I have just gotten
    impatient and the bloat wasn't that bad. Or maybe it is
    the case that the options have gotten horribly numerous and
    increasingly arcane. In any case, I did this:

    for m in $list_of_linux_machines_here; do
    ssh $m wc -l '/usr/src/linux-*/.config'
    done | grep -v total | sort -n | tee /tmp/kconfigs

    config.wc-l is the output of that. But the results showed
    different numbers for the same version (this is across
    different machines, remember), and it looks to be due to
    options selected. The kernel finished building before I
    could figure out if there was a way to actually measure the
    number of options that are presented. (How arcane they
    are is inherently subjective.) So I have added more
    meaningless content to the internet, and these numbers mean
    nothing.
    13 changes: 13 additions & 0 deletions config.wc-l
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    3648 /usr/src/linux-2.6.32.5/.config
    3801 /usr/src/linux-2.6.34.1/.config
    3832 /usr/src/linux-2.6.36.2/.config
    4022 /usr/src/linux-2.6.38.5/.config
    4106 /usr/src/linux-3.5.4/.config
    4208 /usr/src/linux-3.1.5/.config
    4227 /usr/src/linux-2.6.38.5/.config
    4448 /usr/src/linux-3.1.5/.config
    4478 /usr/src/linux-2.6.39.3/.config
    4642 /usr/src/linux-3.6.8/.config
    4730 /usr/src/linux-3.1.5/.config
    4838 /usr/src/linux-3.7.1/.config
    5073 /usr/src/linux-3.5.4/.config