Load site modules...
lade...
random avatar

mastodon - Network

Posts Subscribe

Blood boiling stuff

https://mastodon.ivan.computer/@...

Blood boiling stuff

31.1.2025 07:28Blood boiling stuff
https://mastodon.ivan.computer/@...

Fun stuff: #linux #perf can't copy userspace stacks over 64k bytes due to u16 field size limit. You need the stack to do unwinding with...

https://mastodon.ivan.computer/@...

Fun stuff: can't copy userspace stacks over 64k bytes due to u16 field size limit. You need the stack to do unwinding with dwarf.

I have a program that has a single frame twice as big. It's 3 frames combined into one, but still.

The default stack size to copy in perf is just 8k.

15.1.2025 03:34Fun stuff: #linux #perf can't copy userspace stacks over 64k bytes due to u16 field size limit. You need the stack to do unwinding with...
https://mastodon.ivan.computer/@...

If you use #linux #perf on #rust binaries, I highly recommend you check this out: *...

https://mastodon.ivan.computer/@...

If you use on binaries, I highly recommend you check this out:

* github.com/torvalds/linux/comm

For a decently sized binary (just one!) we observed the following resource consumption on v6.6 and Debian Bookworm:

14.1.2025 21:46If you use #linux #perf on #rust binaries, I highly recommend you check this out: *...
https://mastodon.ivan.computer/@...

Incredible stuff: https://media.ccc.de/v/38c3-blinkencity-radio-controlling-street-lamps-and-power-plants

https://mastodon.ivan.computer/@...

Incredible stuff: media.ccc.de/v/38c3-blinkencit

29.12.2024 23:00Incredible stuff: https://media.ccc.de/v/38c3-blinkencity-radio-controlling-street-lamps-and-power-plants
https://mastodon.ivan.computer/@...

This somewhat explains the unnatural feeling when going 50mph downhill 🫨

https://mastodon.ivan.computer/@...

This somewhat explains the unnatural feeling when going 50mph downhill 🫨

23.12.2024 01:01This somewhat explains the unnatural feeling when going 50mph downhill 🫨
https://mastodon.ivan.computer/@...

https://adventofcode.com/ is back 🎄

https://mastodon.ivan.computer/@...

adventofcode.com/ is back 🎄

1.12.2024 05:21https://adventofcode.com/ is back 🎄
https://mastodon.ivan.computer/@...

#Grafana picking the least contrasting colors for the the most important lines on your graphs:

https://mastodon.ivan.computer/@...

picking the least contrasting colors for the the most important lines on your graphs:

14.11.2024 03:16#Grafana picking the least contrasting colors for the the most important lines on your graphs:
https://mastodon.ivan.computer/@...

Fellow Americans, get your asses to the polls 🇺🇸

https://mastodon.ivan.computer/@...

Fellow Americans, get your asses to the polls 🇺🇸

5.11.2024 14:51Fellow Americans, get your asses to the polls 🇺🇸
https://mastodon.ivan.computer/@...

Rust issue: https://github.com/rust-lang/rust/issues/132636

https://mastodon.ivan.computer/@...

Rust issue: github.com/rust-lang/rust/issu

5.11.2024 13:19Rust issue: https://github.com/rust-lang/rust/issues/132636
https://mastodon.ivan.computer/@...

Flamegraphs for each:

https://mastodon.ivan.computer/@...

Flamegraphs for each:

5.11.2024 03:52Flamegraphs for each:
https://mastodon.ivan.computer/@...

#rust v1.81 vs v1.82. That's a lot of instructions!https://github.com/tobz/miniz-oxide-slowdown-repro

https://mastodon.ivan.computer/@...

v1.81 vs v1.82. That's a lot of instructions!

github.com/tobz/miniz-oxide-sl

5.11.2024 03:50#rust v1.81 vs v1.82. That's a lot of instructions!https://github.com/tobz/miniz-oxide-slowdown-repro
https://mastodon.ivan.computer/@...

#bart

https://mastodon.ivan.computer/@...

30.10.2024 04:36#bart
https://mastodon.ivan.computer/@...

I voted 🇺🇸

https://mastodon.ivan.computer/@...

I voted 🇺🇸

21.10.2024 01:35I voted 🇺🇸
https://mastodon.ivan.computer/@...

I hacked together a netflow to prometheus exporter to figure out which devices misbehaved, so at least there’s that.Ubiquity EdgeRouter X...

https://mastodon.ivan.computer/@...

I hacked together a netflow to prometheus exporter to figure out which devices misbehaved, so at least there’s that.

Ubiquity EdgeRouter X needed some extra manual hacking to enable netflow for this new thing called IPv6. It’s just a few copy-pasted ip6tables rules based on the plain old iptables, but it’s still super annoying to do anything in 2024.

12.10.2024 06:28I hacked together a netflow to prometheus exporter to figure out which devices misbehaved, so at least there’s that.Ubiquity EdgeRouter X...
https://mastodon.ivan.computer/@...

My work laptop decided to do the same to put me firmly over the limit. Just incredible.People reported this for over a year and Apple did...

https://mastodon.ivan.computer/@...

My work laptop decided to do the same to put me firmly over the limit. Just incredible.

People reported this for over a year and Apple did nothing.

12.10.2024 06:20My work laptop decided to do the same to put me firmly over the limit. Just incredible.People reported this for over a year and Apple did...
https://mastodon.ivan.computer/@...

macOS:1. Nearly runs out of disk space2. Removes video screensavers to clean up some space3. Notices that video screensavers are not...

https://mastodon.ivan.computer/@...

macOS:

1. Nearly runs out of disk space
2. Removes video screensavers to clean up some space
3. Notices that video screensavers are not downloaded, downloads them again
4. Repeat

xfinity, with 22 days left in the billing cycle:

9.10.2024 17:18macOS:1. Nearly runs out of disk space2. Removes video screensavers to clean up some space3. Notices that video screensavers are not...
https://mastodon.ivan.computer/@...

The remaining 3 allocations were fixed in https://github.com/tokio-rs/tokio/pull/6779. I was seeing them because the project I'm...

https://mastodon.ivan.computer/@...

The remaining 3 allocations were fixed in github.com/tokio-rs/tokio/pull. I was seeing them because the project I'm measuring on is using older Tokio due to transitive deps.

I was wrong that they happen on aarch64 and not x84_64. In fact, there are 3 _other_ allocations on Tokio v1.40 on macOS that are not present on Linux. They happen in a mutex (or at least the first one), so totally possible that Linux is better at it.

7.10.2024 00:39The remaining 3 allocations were fixed in https://github.com/tokio-rs/tokio/pull/6779. I was seeing them because the project I'm...
https://mastodon.ivan.computer/@...

Where there's a bunch of stack traces, you can make a flamegraph too.Remember that tokio::time::sleep allocating surprisingly a log?...

https://mastodon.ivan.computer/@...

Where there's a bunch of stack traces, you can make a flamegraph too.

Remember that tokio::time::sleep allocating surprisingly a log? Most of it was due to tracing. I was measuring in an axum app with OTLP, console and fmt subscribers enabled, these things add up, even if you only trace the outer future and not the one you measure.

There are 3 remaining tokio scheduler allocations that seemingly only happen on aarch64. The vanish in Github Actions that run on x86_64.

6.10.2024 17:17Where there's a bunch of stack traces, you can make a flamegraph too.Remember that tokio::time::sleep allocating surprisingly a log?...
https://mastodon.ivan.computer/@...

I added support for #USDT probes, so you can see where exactly the measured allocations happen. It only shows the locked allocations, so you...

https://mastodon.ivan.computer/@...

I added support for probes, so you can see where exactly the measured allocations happen. It only shows the locked allocations, so you are unburdened by things you do not care about.

6.10.2024 17:13I added support for #USDT probes, so you can see where exactly the measured allocations happen. It only shows the locked allocations, so you...
https://mastodon.ivan.computer/@...

I made a thing to allow easier testing of #rust allocations: https://docs.rs/stats_alloc_helper/There's async support behind a feature...

https://mastodon.ivan.computer/@...

I made a thing to allow easier testing of allocations: docs.rs/stats_alloc_helper/

There's async support behind a feature flag too. I was surprised by how much tokio::sleep() allocates! 😴

Initially I planned to add allocation measurements to criterion, but its custom measurements aren't made for this. Having a test helper seems more useful anyway.

1.10.2024 06:06I made a thing to allow easier testing of #rust allocations: https://docs.rs/stats_alloc_helper/There's async support behind a feature...
https://mastodon.ivan.computer/@...
Subscribe
To add news/posts to your profile here, you must add a link to a RSS-Feed to your webfinger. One example how you can do this is to join Fediverse City.
         
Webfan Website Badge
Nutzungsbedingungen   Datenschutzerklärung  Impressum
Webfan | @Web pages | Fediverse Members

⬆️

⬇️