!kyXJonZuBXCGzVwuSn:nixos.org

Systems Programming

237 Members
Kernel, stdenv, low-level hacking, patchelf, … 69 Servers

Load older messages


SenderMessageTime
23 Jun 2024
@tolgaerok:matrix.org@tolgaerok:matrix.org left the room.17:20:42
@networkexception:chat.upi.li@networkexception:chat.upi.li left the room.22:10:15
24 Jun 2024
@janik0:matrix.org@janik0:matrix.org left the room.12:44:41
@faye:lolc.atFaye Chun set a profile picture.17:01:03
25 Jun 2024
@axiomss:matrix.org@axiomss:matrix.org joined the room.22:01:26
26 Jun 2024
@rsuds211:matrix.orgRahul Sudharsan joined the room.02:29:21
28 Jun 2024
@axiomss:matrix.org@axiomss:matrix.org left the room.04:15:29
29 Jun 2024
@coolshaurya:envs.netcoolshaurya joined the room.03:42:10
4 Jul 2024
@monadam:matrix.orgmonadam joined the room.00:26:15
@philiptaron:matrix.org@philiptaron:matrix.org left the room.15:46:14
@philiptaron:matrix.org@philiptaron:matrix.org joined the room.15:52:46
@faye:lolc.atFaye Chun changed their profile picture.23:47:59
8 Jul 2024
@woobilicious:matrix.orgwoobiliciousanyone familiar with how perf is built on nixos? seems to fail to build on my custom version of kernel 6.1005:38:50
@zzantares:matrix.org@zzantares:matrix.org changed their display name from zzantares to demo-reset.06:00:25
@zzantares:matrix.org@zzantares:matrix.org removed their profile picture.06:00:33
@joerg:thalheim.ioMic92It's build from the linux kernel source afaik.08:46:08
@joerg:thalheim.ioMic92linuxPackages.perf08:46:14
@joerg:thalheim.ioMic92You should probably use the one matching your kernel.08:46:28
@woobilicious:matrix.orgwoobilicious Mic92: Yeah that's what I meant I was using, i.e.
nix run self\#nixosConfigurations.Purple-Sunrise.config.boot.kernelPackages.perf
11:09:50
@woobilicious:matrix.orgwoobiliciousI guess linux-testing has some packaging changes. complaining about missing libtraceevent11:19:00
@nickkadutskyi:matrix.orgNick Kadutskyi joined the room.19:29:09
9 Jul 2024
@joerg:thalheim.ioMic92
In reply to @woobilicious:matrix.org
I guess linux-testing has some packaging changes. complaining about missing libtraceevent
if you come up with a patch that fixes testing, I can merge.
08:37:20
10 Jul 2024
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.20:20:56
@zzantares:matrix.org@zzantares:matrix.org changed their display name from demo-reset to Hamlet'sPiedPlumber.23:02:30
12 Jul 2024
@valconius:matrix.org@valconius:matrix.org left the room.01:16:54
15 Jul 2024
@sielicki:matrix.orgsielicki left the room.00:28:03
@sielicki:matrix.orgsielicki joined the room.00:28:58
@sielicki:matrix.orgsielicki

looking for some feedback on what we should do with linuxPackages.ena (the driver for the ec2 nitro NICs). It's a bit complicated:

  1. ena has an upstreamed driver, available for a very long time and which gets regular updates in mainline, that will work for the large majority of cases. https://github.com/torvalds/linux/tree/master/drivers/net/ethernet/amazon/ena

  2. Development for that out-of-tree driver is released independently on a separate release cadence from the kernel here: https://github.com/amzn/amzn-drivers/ . It has more-frequent updates than what you can get on a stable kernel, and also contains some patches were rejected by upstream but are associated with performance improvements.

  3. I think it's also worth mentioning that there's a sort-of third variant of the driver in the form of https://github.com/amazonlinux/linux where they aggressively and quickly pick commits from (2) into the in-tree module.

Problems with this:

  1. Up until a few months ago, I was on the fw team for ena express and was paying close attention to all the driver releases for testing reasons, so I made an effort to make a PR to bump the ena module whenever I knew there was a new driver out, but A: it can be hard to get reviews and so they would tend to sit for a while, especially for a package like this that causes so much rebuilding, and 2. I now work more closely to EFA than ENA and I'm not able to stay on top of it anymore, so we can fall behind pretty quickly (as we have right now, see https://github.com/NixOS/nixpkgs/pull/313941 )

  2. when nixpkgs does fall behind from the latest release, if someone is using a newer mainline-ish kernel, there's a chance that we're effectively downgrading the module for them and the in-tree module has bugfixes that they're missing.

  3. I believe there's also the potential that the preference is not correct and the in-tree version gets loaded when it should not be, I need to check what happens here.

00:53:26
@sielicki:matrix.orgsielicki

I think my preference is:

  1. continue to have linuxPackages.ena, but make it opt-in. Should setup a nixpkgs-update script for it to watch for releases so we're sure it stays up to date, and document that it's only there if you're on a non-default kernel with a very outdated in-tree ena module. Ideally, restrict hydra to not build it everywhere, making the PRs more palatable to be merged quickly. People can opt into it if they prefer to, but just remove it from the default EC2 profile.

  2. the ec2 profile in nixpkgs should prefer to use the amazonlinux kernel from (3), as it contains fixes for a lot of other ec2-specific things, and it also brings in newer ena drivers, too.

00:59:04
@sielicki:matrix.orgsielickihow much pushback can I expect if I put up PRs for the above?01:00:16

Show newer messages


Back to Room ListRoom Version: 6