frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

M8.7 earthquake in Western Pacific, tsunami warning issued

https://earthquake.usgs.gov/earthquakes/eventpage/us6000qw60/executive
422•jandrewrogers•3h ago•83 comments

Study mode

https://openai.com/index/chatgpt-study-mode/
748•meetpateltech•10h ago•520 comments

RIP Shunsaku Tamiya, the man who made plastic model kits a global obsession

https://JapaneseNostalgicCar.com/rip-shunsaku-tamiya-plastic-model-kits/
166•fidotron•6h ago•30 comments

URL-Driven State in HTMX

https://www.lorenstew.art/blog/bookmarkable-by-design-url-state-htmx/
111•lorenstewart•5h ago•41 comments

Launch HN: Hyprnote (YC S25) – An open-source AI meeting notetaker

158•yujonglee•11h ago•84 comments

Two Birds with One Tone: I/Q Signals and Fourier Transform

https://wirelesspi.com/two-birds-with-one-tone-i-q-signals-and-fourier-transform-part-1/
23•teleforce•4h ago•2 comments

USB-C for Lightning iPhones

https://obsoless.com/products/iph0n3-usb-c-protection-case
84•colinprince•3d ago•69 comments

Learning basic electronics by building fireflies

http://a64.in/posts/learning-basic-electronics-by-building-fireflies/
192•signa11•10h ago•55 comments

iPhone 16 cameras vs. traditional digital cameras

https://candid9.com/phone-camera/
151•sergiotapia•13h ago•195 comments

FoundationDB: From idea to Apple acquisition [video]

https://www.youtube.com/watch?v=C1nZzQqcPZw
126•zdw•4d ago•16 comments

Actual Size Online Ruler (Mm,Cm,Inches)

https://anruler.com/
4•artiomyak•2d ago•6 comments

How the brain increases blood flow on demand

https://hms.harvard.edu/news/how-brain-increases-blood-flow-demand
77•gmays•8h ago•35 comments

Show HN: I built an AI that turns any book into a text adventure game

https://www.kathaaverse.com/
208•rcrKnight•11h ago•82 comments

JavaScript decided my day starts at 9am

https://senhongo.com/blog/when-javaScript-decided-my-day-starts-at-9am
21•SenHeng•3d ago•23 comments

Dropbox Passwords discontinuation

https://help.dropbox.com/en-us/installs/dropbox-passwords-discontinuation
39•h1fra•7h ago•13 comments

ACM Transitions to Full Open Access

https://www.acm.org/publications/openaccess
132•pcvarmint•10h ago•13 comments

Irrelevant facts about cats added to math problems increase LLM errors by 300%

https://www.science.org/content/article/scienceadviser-cats-confuse-ai
331•sxv•12h ago•160 comments

Show HN: Terminal-Bench-RL: Training long-horizon terminal agents with RL

https://github.com/Danau5tin/terminal-bench-rl
106•Danau5tin•16h ago•10 comments

CodeCrafters (YC S22) is hiring first Marketing Person

https://www.ycombinator.com/companies/codecrafters/jobs/7ATipKJ-1st-marketing-hire
1•sarupbanskota•6h ago

A month using XMPP (using Snikket) for every call and chat (2023)

https://neilzone.co.uk/2023/08/a-month-using-xmpp-using-snikket-for-every-call-and-chat/
86•ColinWright•9h ago•52 comments

Microsoft Flight Simulator 2024: WebAssembly SDK

https://docs.flightsimulator.com/msfs2024/html/6_Programming_APIs/WASM/WebAssembly.htm
120•breve•3d ago•62 comments

Playing with more user-friendly methods for multi-factor authentication

https://tesseral.com/blog/i-designed-some-more-user-friendly-methods-for-multi-factor-authentication
51•noleary•1d ago•32 comments

Structuring large Clojure codebases with Biff

https://biffweb.com/p/structuring-large-codebases/
56•PaulHoule•13h ago•3 comments

Measuring Engineering

https://fffej.substack.com/p/measuring-engineering
21•mooreds•3d ago•4 comments

My 2.5 year old laptop can write Space Invaders in JavaScript now (GLM-4.5 Air)

https://simonwillison.net/2025/Jul/29/space-invaders/
467•simonw•14h ago•323 comments

Supervised fine tuning on curated data is reinforcement learning

https://arxiv.org/abs/2507.12856
42•GabrielBianconi•7h ago•14 comments

Maru OS – Use your phone as your PC

https://maruos.com/
207•fsflover•8h ago•144 comments

Elements of System Design

https://github.com/jarulraj/periodic-table
92•qianli_cs•10h ago•33 comments

Observable Notebooks 2.0 Technology Preview

https://observablehq.com/notebook-kit/
189•mbostock•13h ago•45 comments

More honey bees dying, even as antibiotic use halves

https://news.uoguelph.ca/2025/07/more-honey-bees-dying-even-as-antibiotic-use-halves/
160•pseudolus•8h ago•116 comments
Open in hackernews

Linux Performance Analysis (2015)

https://netflixtechblog.com/linux-performance-analysis-in-60-000-milliseconds-accc10403c55
167•benjacksondev•14h ago

Comments

emmelaich•14h ago
Nice list. sar/sysstat is underrated imho.
mmh0000•10h ago
Oh man. There's a blast from the past.

Today, you'd want something like:

Prometheus + Node Exporter [1]

[1] https://github.com/prometheus/node_exporter

mortar•14h ago
2015

Previous discussions: https://news.ycombinator.com/item?id=10654681 https://news.ycombinator.com/item?id=10652076

danieldk•13h ago
Yeah, I skipped the date and then saw Linux 3.13 in the examples.
whalesalad•13h ago
I quite like `iotop` as an alternative to iostat. https://linux.die.net/man/1/iotop
CodeCompost•13h ago
> At Netflix we have a massive EC2 Linux cloud

Wait a minute. I thought Netflix famously ran FreeBSD.

craftkiller•13h ago
My understanding was their CDN ran on FreeBSD, but not their API servers. But I don't work for Netflix.
diab0lic•13h ago
Your understanding is correct.
achierius•10h ago
Why did they not choose to use it for both (or neither)? I.e., what reasons for using FreeBSD on CDN servers would not also apply to using them for API servers?
seabrookmx•9h ago
They are extremely different workloads so.. everything?

The CDN servers are basically appliances, and are often embedded in various data centers (includes those ran by ISP's) to aggressively cache content. They care about high throughput and run a single workload. Being able to fine tune the entire stack, right down to the TCP/IP implementation is very valuable in this case. Since they ship the hardware and software, they can tightly integrate the two.

By contrast, API workloads are very heterogeneous. I'd have to imagine the ability to run any standard Linux software there would also be a big plus. Linux clearly has much more vetting on cloud providers than FreeBSD as well.

aflag•9h ago
Can't you fine tune linux as well? Does FreeBSD perform better somehow on a CDN workload? I find it difficult to imagine that the reason is performance. But I don't know what the reason is.
craftkiller•9h ago
Netflix discusses their reasons starting at 18:20: https://www.youtube.com/watch?v=veQwkG0WdN8&t=18m20s

tl;dw: the performance, the efficiency of development, the community, FreeBSD is a complete operating system, the code base is smaller, the ports system, and the license.

and this video covers the optimizations Netflix has made to FreeBSD: https://www.youtube.com/watch?v=36qZYL5RlgY

Also potentially a reason: According to drewg123, Linux's kTLS was broken. Which I see drewg123 also commenting in this thread. Is he the "Drew on my team" mentioned in the first video? Is he the speaker in the 2nd video? Idk https://news.ycombinator.com/item?id=28585008

drewg123•13h ago
The CDN runs FreeBSD. Linux is used for nearly everything else.
__turbobrew__•13h ago
If you like this post, I would recommend “BPF Performance Tools” and “Systems Performance: Enterprise and the Cloud” by Brenden Gregg.

I have pulled out a few miracles using these tools (identifying kernel bottlenecks or profiling programs using ebpf) and it has been well worth the investment to read through the books.

yankcrime•11h ago
Agreed, highly recommended reading. A slightly more up-to-date post of his which recommends tools in such situations is: https://www.brendangregg.com/blog/2024-03-24/linux-crisis-to...
wcunning•11h ago
Literally did miracles at my last job with the first book and that got me my current job, where I also did some impressive proving which libraries had what performance with it again... Seriously valuable stuff.
__turbobrew__•7h ago
Yea it is kindof cheating. I was helping someone debug why their workload was soft locking. I ran the profiling tools and found that cgroup accounting for the workload was taking nearly all the cpu time on locks. From searches through linux git logs I found that cgroup accounting in older kernels had global locks. I saw that newer kernels didn’t have this, so we moved to a newer kernels and all the issues went away.

People thought I was a wizard lol.

babuloseo•13h ago
he forgot about rusttop
AnyTimeTraveler•5h ago
I'm pretty sure that that didn't exist in 2015 ;)
janvdberg•13h ago
My first command is always 'w'. And I always urge young engineers to do the same.

There is no shorter command to show uptime, load averages (1/5/15 minutes), logged in users. Essential for quick system health checks!

Propelloni•12h ago
Me too! So much so that I add it to my .bashrc everywhere.
mmh0000•11h ago
It should also be mentioned, Linux Load Average is a complex beast[1]. However, a general rule of thumb that works for most environments is:

You always want the load average to be less than the total number of CPU cores. If higher, you're likely experiencing a lot of waits and context switching.

[1] https://www.brendangregg.com/blog/2017-08-08/linux-load-aver...

tanelpoder•3h ago
On Linux this is not true, on an IO heavy system - with lots of synchronous I/Os done concurrently by many threads - your load average may be well over the number of CPUs, without having a CPU shortage. Say, you have 16 CPUs, load avg is 20, but only 10 threads out of 20 are in Runnable (R) mode on average, and the other 10 are in Uninterruptible sleep (D) mode. You don't have a CPU shortage in this case.

Note that synchronous I/O completion checks for previously submitted asynchronous I/Os (both with libaio and io_uring) do not contribute to system load as they sleep in the interruptible sleep (S) mode.

That's why I tend to break down the system load (demand) by the sleep type, system call and wchan/kernel stack location when possible. I've written about the techniques and one extreme scenario ("system load in thousands, little CPU usage") here:

https://tanelpoder.com/posts/high-system-load-low-cpu-utiliz...

lotharcable•3h ago
The proper way is to have a idea of what it normally is before you need to troubleshoot issues.

What is a 'good load' depends on the application and how it works. Some servers something close to 0 is a good thing. Other servers a 10 or lower means something is seriously wrong.

Of course if you don't know what is a 'good' number or you are trying to optimize a application and looking for bottlenecks then it is time to reach for different tools.

chasil•8h ago
Glances is nice. I think it is a clone of HP-UX Glance.

https://nicolargo.github.io/glances/

I have also hacked basic top to add database login details to server processes.

louwrentius•12h ago
The iostat command has always been important to observe HDD/SDD latency numbers.

Especially SSDs are treated like magic storage devices with infinite IOPS at Planck-scale latency.

Until you discover that SSDs that can do 10GB/s don't do nearly so well (not even close) when you access them in a single thread with random IOPS, with queue depth of 1.

wcunning•11h ago
That's where you start down the eBPF rabbit hole with bcc/biolatency and other block device histogram tools. Further, the cache hit rate and block size behavior of the SSD/NVME drive can really affect things if, say, your autonomous vehicle logging service uses MCAP with a chunk size much smaller than a drive block... Ask me how I know
rkachowski•12h ago
it's 10 years later - what's the 60 second equivalent in 2025?
wcunning•11h ago
@yankcrime posted it above: https://www.brendangregg.com/blog/2024-03-24/linux-crisis-to...
BlackLotus89•10h ago
PSI (pressure stall information) are missing.

I always use a configured!(F2) htop (not mentioned as well). Always enable PSI information in htop (some red hat systems I work with still don't offer them...).

If you have zfs enable those meters as well and htop has an io tab, use it!

ImPostingOnHN•12h ago
Maybe I missed it, but checking available disk space is often a good step in diagnosing misbehaving systems.
fduran•10h ago
shameless plug: you can practice this in a free VM https://docs.sadservers.com/docs/scenario-guides/practical-l... (there's a typo there to keep you on your feet)
ch33zer•10h ago
Almost all of these have been replaced for me with below: https://developers.facebook.com/blog/post/2021/09/21/below-t...

It is excellent and contains most things you could need. Downside is that it isn't yet a standard tool so you need to get it installed across your fleet

benreesman•5h ago
Oh man nostalgia city. I vividly remember meeting atop time travel debugging at 3am in Menlo Park in 2012, wild times.
5pl1n73r•8h ago
After this article was written, `free -m` on many systems started to have an "available" column that shows the sum of reclaimable and free memory. It's nicer than the "-/+" section shown in this old article.

  $ free -m
                 total        used        free      shared  buff/cache   available
  Mem:            3915        2116        1288          41         769        1799
  Swap:            974           0         974
tomhow•7h ago
Previously:

Linux Performance Analysis in 60,000 Milliseconds - https://news.ycombinator.com/item?id=10652076 - Nov 2015 (11 comments)

Linux Performance Analysis - https://news.ycombinator.com/item?id=10654681 - Dec 2015 (82 comments)

Linux Performance Analysis in 60k Milliseconds (2015) [pdf] - https://news.ycombinator.com/item?id=44070741 - May 2025 (1 comment)