Elektrine
EN
Log in Register
Paige Chat Timeline Communities Gallery Videos Email DNS VPN Uptime Kairo
Back to Timeline
Remote

Gabriele Svelto [moved]

@gabrielesvelto@fosstodon.org
mastodon 4.6.6
  • Open on fosstodon.org

Moved to @gabrielesvelto@mas.to

Old school nerd
Knows things about computers that would drive you insane
Hacks on Firefox at Mozilla

0 Followers
0 Following
24 Posts
Joined May 30, 2022
web:
https://setphaserstostun.org
github:
https://github.com/gabrielesvelto
gpg:
https://keys.openpgp.org/vks/v1/by-fingerprint/D71D73D63144D1AD45F71705763A5AD66BC5A398
pronouns:
he/him

Posts

Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Jun 03, 2025
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org

I moved all the articles I saved in Pocket to a self-hosted @readeck@mastodon.online installation and I'm really satisfied with the result. Readeck has the most useful functionality Pocket lost in the last few years and is very pleasant to use.

If I find some free time I'll whip my #Gentoo ebuild into shape and contribute it to the guru package repository.

mastodon.online

Readeck (@readeck@mastodon.online) - Mastodon

28
1
6
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Apr 01, 2025
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @nocontexttrek@mastodon.social
@nocontexttrek@mastodon.social this is our yearly reminder that transphobes have no honor
0
0
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Feb 23, 2025
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @OchmennoPodcast@literatur.social
@OchmennoPodcast FYI @ChrisO_wiki is in the fedi and posts interesting stuff on the Russian invasion of Ukraine, though he posts a little less frequently on here than in other platforms. Go give him a follow, it's worth it
3
1
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Jun 18, 2024
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @mhoye@mastodon.social
@mhoye I can relate to that. The old joke of the year of "Linux on the desktop" has devolved into how long until Linux on the desktop is gone because all the paid-for development is for enterprise-centric use-cases.
7
2
2
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Jun 18, 2024
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @mhoye@mastodon.social
@mhoye ugh, that's one nasty footgun and "RTFM" is a really shitty response when the reporter politely and extensively explained that the description in the fine manual is quite confusing.
13
8
2
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Apr 14, 2024
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org

Rewatching Mary Poppins with my kids and I feel rather seen

21
0
4
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Mar 29, 2024
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @BGOllie@mstdn.social
@BGOllie@mstdn.social fantastic 👏
1
0
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Mar 19, 2024
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @gabrielesvelto@fosstodon.org
@brendangregg@aus.social you might want to check the framehop and wholesym Rust crates developed by my colleague @mstange@mastodon.social They've been written to provide very high quality stack traces while also offering very high performance, so that they can be used during online profiling: https://crates.io/crates/framehop https://crates.io/crates/wholesym
0
1
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Mar 19, 2024
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @brendangregg@aus.social
@brendangregg@aus.social we've spent considerable resources in terms of engineering at Mozilla to deal with the issue of stack traces, both for stability (crash reporting & diagnostics) and performance (profiling). Frame pointers are hugely helpful when present, but we also have to live without them since extensive inlining in C++/Rust code means they're just not enough.
0
1
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Feb 07, 2024
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @nileane@nileane.fr
@nileane@nileane.fr "you can scrub as much harmful speech from your feed as you want, but only after having been thoroughly traumatized by it"
0
0
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 13, 2023
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @CatherineFlick@mastodon.me.uk
@CatherineFlick@mastodon.me.uk but somehow trains still go chuff chuff
0
0
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Mar 20, 2023
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @nnethercote@mas.to
@nnethercote@mas.to @flod@mozilla.social it is shocking, isn't it?
0
1
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Mar 19, 2023
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org

Last week we fixed a 14 year old bug in #Firefox. It was a small thing, just a UI glitch in the crash reporter client, but it always feel good to close bugs that old.

Plus I didn't fix it myself, I walked a new contributor through her first patch. It's always nice when people want to help and I'm always delighted to see how happy they are about landing their very first patch in a #FOSS project.

35
2
13
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 26, 2022
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @gabrielesvelto@fosstodon.org
Google developers have noticed my blog post and are trying to retry failed allocations in #Chrome too: https://chromium-review.googlesource.com/c/chromium/src/+/4051183 The code is pretty much the same as ours but they check for two more failures: ERROR_COMMITMENT_MINIMUM and ERROR_PAGEFILE_QUOTA. I'm confident those are not needed because they appear in Microsoft documentation but never showed up in Firefox crash data. As they say: do as Microsoft does not as Microsoft says.
6
0
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 23, 2022
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @gabrielesvelto@fosstodon.org
I've read lots of interesting discussion about my blog post on forums, social media and comment sections. Both regarding the contents and the title, but this particular comment beats all the other ones:
8
0
1
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 23, 2022
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @DePanther@mastodon.gamedev.place
@DePanther @cabanier I honestly don't know, you might try and ask on the Firefox on iOS channel on our Matrix server https://matrix.to/#/#fx-ios:mozilla.org
1
0
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 22, 2022
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @robryk@qoto.org
@robryk on Linux we don't look at system memory usage mostly because it's impossible to do in a reliable way. We're entirely in the hands of the OOM killer. To be precise we tried detecting global low-memory situations... and failed. Going forward this detection will only be based on Firefox own processes' dying and thus necessarily local to whatever cgroup it's been assigned to.
0
0
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 22, 2022
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @cabanier@arvr.social
@cabanier no, on Android we already have some dedicated machinery that tries to prevent visible processes from dying in front of the user when the phone is running out of memory. However Android's memory killer is a lot more aggressive than Linux and we only have marginal control over what it does. Part of the reason is that phones have no swap space and thus the kernel cannot overcommit, which is quite the issue for something that was designed for it.
1
2
1
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 22, 2022
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @wanderview@toot.cafe
@wanderview that is quite appropriate!
1
0
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 22, 2022
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @itamarst@hachyderm.io
@itamarst you read my mind: yes we want to use that. Specifically we have pre-allocated child processes which are the first to die. They're empty processes we keep around to speed up loading a new page; the idea is to detect when they die and take that as a sign of memory running low. The problem is that we currently don't have a way to tell if a process was reaped by the OOM killer but @xlerb is working on it so... soon, probably!
0
1
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 22, 2022
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @plwt@mstdn.social
@plwt I'm happy you liked it! I feel that the ins and outs of Windows memory management are not very well known in the broader #FOSS community
1
0
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 22, 2022
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @robryk@qoto.org
@robryk that's a very good question! It provided small benefits compared to this, so we're repurposing it: we want to unload tabs when we're low on physical memory to prevent swapping. This way we'll have two distinct mechanisms, one to prevent crashes and one to improve responsiveness by avoiding swapping.
0
1
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 22, 2022
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org
Replying to @itamarst@hachyderm.io
@itamarst on Linux we use the oom_score_adj values of each process to direct the OOM killer towards the ones we want reaped first, see this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1771712 Fun story: the original code to implement this was written for Firefox OS and I pulled it from the KaiOS branch which is a fork of Firefox OS but based on recent Firefox versions.
2
3
0
0
Open post
gabrielesvelto
Gabriele Svelto [moved] @gabrielesvelto@fosstodon.org · Nov 22, 2022
Gabriele Svelto [moved]
@gabrielesvelto@fosstodon.org

Moved to @gabrielesvelto Old school nerd Knows things about computers that would drive you insane Hacks on Firefox at Mozilla

fosstodon.org

My blog post describing how we cut #Firefox out-of-memory crashes by more than 70% with one weird trick is out: https://hacks.mozilla.org/2022/11/improving-firefox-stability-with-this-one-weird-trick/

The title is not click-bait, I swear, it *is* one weird trick.

168
28
113
0

Remote instance

fosstodon.org
Open on original server

Media

313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

Platform

  • Email
  • Chat
  • Timeline
  • Communities
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Warrant Canary
  • Lite (no JS)
  • VPN Policy
  • Source code

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 21:46:30 UTC