tcp_available_congestion_control add htcp and bbr

Asked by John Hess

hi,

if you would please build the kernel modules for tcp_htcp and tcp_bbr. my use-cases include using the Odroid C2 as a low-cost perfSONAR node as well as a Data Transfer Node (DTN). cubic is good as a cc alg, but i would to also have htcp and bbr available to test with.

cheers,

john

Question information

Language:
English Edit question
Status:
Answered
For:
ODROID Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Dongjin Kim (tobetter) said :
#1

Hi John,

I've updated kernel build as per your request, and I have these files. Please do "apt update" and "apt upgrade", then your kernel will be updated.

$ ls kernel/net/ipv4/tcp_*
kernel/net/ipv4/tcp_bbr.ko kernel/net/ipv4/tcp_htcp.ko kernel/net/ipv4/tcp_vegas.ko
kernel/net/ipv4/tcp_bic.ko kernel/net/ipv4/tcp_hybla.ko kernel/net/ipv4/tcp_veno.ko
kernel/net/ipv4/tcp_cdg.ko kernel/net/ipv4/tcp_illinois.ko kernel/net/ipv4/tcp_westwood.ko
kernel/net/ipv4/tcp_dctcp.ko kernel/net/ipv4/tcp_lp.ko kernel/net/ipv4/tcp_yeah.ko
kernel/net/ipv4/tcp_diag.ko kernel/net/ipv4/tcp_nv.ko
kernel/net/ipv4/tcp_highspeed.ko kernel/net/ipv4/tcp_scalable.ko

Thanks.
Dongjin.

Revision history for this message
John Hess (jhess-at-cenic.org) said :
#2

hi Donglin,

cool — thanks. but it seems i am getting errors when i try to add and then update from your ppa (see output below). it looks like apt-get update && apt-get upgrade are not able to pull down updates to your rc4 or your rc5 spin….

suggestions?

thanks,

john

root@ps-berk-1g:~# uname -a
Linux ps-berk-1g 4.17.0-rc4-odroid-arm64 #1 SMP PREEMPT Tue, 08 May 2018 10:56:23 +0000 aarch64 GNU/Linux

root@ps-berk-1g:~# ls /boot
boot.scr dtbs System.map-4.17.0-rc4-odroid-arm64
boot.scr.bak initrd.img vmlinuz
config-4.17.0-rc4-odroid-arm64 initrd.img-4.17.0-rc4-odroid-arm64 vmlinuz-4.17.0-rc4-odroid-arm64
dtb initrd.img.old vmlinuz.old
dtb-4.17.0-rc4-odroid-arm64 lost+found

root@ps-berk-1g:~# add-apt-repository ppa:tobetter/ppa

 More info: https://launchpad.net/~tobetter/+archive/ubuntu/ppa
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmpr9hwg2sv/pubring.gpg' created
gpg: /tmp/tmpr9hwg2sv/trustdb.gpg: trustdb created
gpg: key 3166E7A3D47E081A: public key "Launchpad PPA for Dongjin Kim" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
root@ps-berk-1g:~# apt-get update
Ign:2 http://ftp.us.debian.org/debian stretch InRelease
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Get:5 http://ftp.us.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:6 http://ppa.launchpad.net/tobetter/ppa/ubuntu artful InRelease
Hit:7 http://ftp.us.debian.org/debian stretch Release
Hit:8 http://ppa.launchpad.net/tobetter/legacy/ubuntu artful InRelease
Hit:1 https://oph.mdrjr.net/meveric stretch InRelease
Hit:4 https://oph.mdrjr.net/meveric all InRelease
Hit:9 http://ppa.launchpad.net/tobetter/linux-v4.14/ubuntu artful InRelease
Ign:10 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic InRelease
Ign:12 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic Release
Ign:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Ign:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Ign:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Ign:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Ign:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Ign:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Ign:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Ign:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Ign:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Ign:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Ign:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Err:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
  404 Not Found
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Fetched 91.0 kB in 8s (11.1 kB/s)
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/tobetter/ppa/ubuntu/dists/cosmic/main/binary-arm64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@ps-berk-1g:~# apt-get update
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
Ign:3 http://ftp.us.debian.org/debian stretch InRelease
Hit:5 http://ftp.us.debian.org/debian stretch-updates InRelease
Hit:6 http://ppa.launchpad.net/tobetter/ppa/ubuntu artful InRelease
Hit:7 http://ftp.us.debian.org/debian stretch Release
Hit:8 http://ppa.launchpad.net/tobetter/legacy/ubuntu artful InRelease
Hit:2 https://oph.mdrjr.net/meveric stretch InRelease
Hit:9 http://ppa.launchpad.net/tobetter/linux-v4.14/ubuntu artful InRelease
Hit:4 https://oph.mdrjr.net/meveric all InRelease
Ign:10 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic InRelease
Ign:12 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic Release
Ign:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
Ign:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Ign:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
Ign:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Ign:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
Ign:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Ign:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
Ign:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Ign:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
Ign:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Err:13 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main arm64 Packages
  404 Not Found
Ign:14 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main all Packages
Ign:15 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en
Ign:16 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic/main Translation-en_US
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/tobetter/ppa/ubuntu/dists/cosmic/main/binary-arm64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
root@ps-berk-1g:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ps-berk-1g:~#

> On May 16, 2018, at 4:14 AM, Dongjin Kim <email address hidden> wrote:
>
> Your question #668831 on ODROID changed:
> https://answers.launchpad.net/odroid-image/+question/668831
>
> Status: Open => Answered
>
> Dongjin Kim proposed the following answer:
> Hi John,
>
> I've updated kernel build as per your request, and I have these files.
> Please do "apt update" and "apt upgrade", then your kernel will be
> updated.
>
> $ ls kernel/net/ipv4/tcp_*
> kernel/net/ipv4/tcp_bbr.ko kernel/net/ipv4/tcp_htcp.ko kernel/net/ipv4/tcp_vegas.ko
> kernel/net/ipv4/tcp_bic.ko kernel/net/ipv4/tcp_hybla.ko kernel/net/ipv4/tcp_veno.ko
> kernel/net/ipv4/tcp_cdg.ko kernel/net/ipv4/tcp_illinois.ko kernel/net/ipv4/tcp_westwood.ko
> kernel/net/ipv4/tcp_dctcp.ko kernel/net/ipv4/tcp_lp.ko kernel/net/ipv4/tcp_yeah.ko
> kernel/net/ipv4/tcp_diag.ko kernel/net/ipv4/tcp_nv.ko
> kernel/net/ipv4/tcp_highspeed.ko kernel/net/ipv4/tcp_scalable.ko
>
> Thanks.
> Dongjin.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/odroid-image/+question/668831/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/odroid-image/+question/668831
>
> You received this question notification because you asked the question.

Revision history for this message
Dongjin Kim (tobetter) said :
#3

Hi John,

From the log, I am seeing that your C2 is installed with my Debian installer. Right? It already has all repository information, so you don't need to run the command "add-apt-repository ppa:tobetter/ppa" which adds another repository for Ubuntu 'cosmic' distribution which I don't be kernel image for.

root@ps-berk-1g:~# apt-get update
Ign:2 http://ftp.us.debian.org/debian stretch InRelease
Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
Get:5 http://ftp.us.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:6 http://ppa.launchpad.net/tobetter/ppa/ubuntu artful InRelease
Hit:7 http://ftp.us.debian.org/debian stretch Release
Hit:8 http://ppa.launchpad.net/tobetter/legacy/ubuntu artful InRelease
Hit:1 https://oph.mdrjr.net/meveric stretch InRelease
Hit:4 https://oph.mdrjr.net/meveric all InRelease
Hit:9 http://ppa.launchpad.net/tobetter/linux-v4.14/ubuntu artful InRelease
Ign:10 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic InRelease
Ign:12 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic Release

So my suggestion is that go to /etc/apt/sources.list.d and remove a file which has "http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic" and do "apt update" for sure that no error happens.

In order to install new build, I have another package 'linux-image-upstream-odroid' which will install upstream kernel. Simply, just make sure you do not have an error with "apt update" and run "apt install linux-image-upstream-odroid". This will install "v4.17-rc5" from my Launchpad.

Please let me know if it works for you.

Cheers!!

Revision history for this message
John Hess (jhess-at-cenic.org) said :
#4

hi Dongjin,

yes: sorry, my bad…

i followed your suggestions to remove the extraneous file in /etc/apt/sources.list.d and apt update then completed without error.

i installed linux-image-upstream-odroid and the system was then able to update / install to v4.17-rc5.

thanks much…

john

> On May 16, 2018, at 4:57 PM, Dongjin Kim <email address hidden> wrote:
>
> Your question #668831 on ODROID changed:
> https://answers.launchpad.net/odroid-image/+question/668831
>
> Status: Open => Answered
>
> Dongjin Kim proposed the following answer:
> Hi John,
>
>> From the log, I am seeing that your C2 is installed with my Debian
> installer. Right? It already has all repository information, so you
> don't need to run the command "add-apt-repository ppa:tobetter/ppa"
> which adds another repository for Ubuntu 'cosmic' distribution which I
> don't be kernel image for.
>
> root@ps-berk-1g:~# apt-get update
> Ign:2 http://ftp.us.debian.org/debian stretch InRelease
> Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
> Get:5 http://ftp.us.debian.org/debian stretch-updates InRelease [91.0 kB]
> Hit:6 http://ppa.launchpad.net/tobetter/ppa/ubuntu artful InRelease
> Hit:7 http://ftp.us.debian.org/debian stretch Release
> Hit:8 http://ppa.launchpad.net/tobetter/legacy/ubuntu artful InRelease
> Hit:1 https://oph.mdrjr.net/meveric stretch InRelease
> Hit:4 https://oph.mdrjr.net/meveric all InRelease
> Hit:9 http://ppa.launchpad.net/tobetter/linux-v4.14/ubuntu artful InRelease
> Ign:10 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic InRelease
> Ign:12 http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic Release
>
> So my suggestion is that go to /etc/apt/sources.list.d and remove a file
> which has "http://ppa.launchpad.net/tobetter/ppa/ubuntu cosmic" and do
> "apt update" for sure that no error happens.
>
> In order to install new build, I have another package 'linux-image-
> upstream-odroid' which will install upstream kernel. Simply, just make
> sure you do not have an error with "apt update" and run "apt install
> linux-image-upstream-odroid". This will install "v4.17-rc5" from my
> Launchpad.
>
> Please let me know if it works for you.
>
> Cheers!!
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/odroid-image/+question/668831/+confirm?answer_id=2
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/odroid-image/+question/668831
>
> You received this question notification because you asked the question.

Revision history for this message
Dongjin Kim (tobetter) said :
#5

Hi John,

No worries... :)
FYI, even though you have installed 'linux-image-upstream-odroid', it won't update recent kernel image all the time. Because I have to update the package with test Linux image. In that case and you'd like to install updated image, you should download *.deb and install it with the command 'dpkg'. :)

Thanks,
Dongjin.

Can you help with this problem?

Provide an answer of your own, or ask John Hess for more information if necessary.

To post a message you must log in.