HNHacker News
TopNewBestAskShowJobs

nullindividual

2,175 karma · joined May 16, 2023

submissionscomments
nullindividual··on Asynchronous IO: the next billion-dollar mistake?
> I think you missed the point: io_uring is the newer API.

GP was pointing out that io_uring came after RIO; RIO has similar capabilities to io_uring for the network space. GP did not "miss the point".

> Microsoft understand quite well that they have pervasive issues with IO performance

This has nothing to do with IOCP but rather the file system filters. This is why removal of file system filters from "DevDrive" (a ReFS volume) improves performance vs a ReFS volume with file system filters in place.

> If what Windows has had all along is so great, why did they bother cloning io_uring when io_uring came along?

IoRing eliminates the need to copy buffers between kernel and user space [0][1].

With regards to performance, this is a bench between a traditional multithreaded UDP server and an RIO IOCP UDP server. The gains are significant. [2] And further comparisons... [3]

> seldom bother to assess whether the decades-old async API actually offers good performance in comparison to more recent alternatives

There are no complete alternatives [r]. Nor is Linux fully asynchronous throughout the kernel.

> introducing DirectStorage

Not really relevant to the context. DirectStorage is a method to deliver data from nVME storage with minimal CPU overhead and/or compressed [4]. Such a system would improve performance on any OS and indeed, we can see that on PS OS (PS5, FreeBSD-based (probably)). Again, limited in scope.

I'm honestly not sure what you're attempting to argue. IoRing brings improvements, yes, but isn't a replacement of IOCP. We should see improvements in any mainstream kernel as a good thing. It's progress. And hopefully the Linux kernel gets to full async I/O at some point in the future.

[0] https://windows-internals.com/i-o-rings-when-one-i-o-operati... (this is from a co-author of Windows Internals)

[1] https://windows-internals.com/ioring-vs-io_uring-a-compariso...

[2] https://serverframework.com/asynchronousevents/2012/08/winso...

[3] https://speakerdeck.com/trent/pyparallel-how-we-removed-the-...

[4] https://stackoverflow.com/questions/73878597/what-are-the-di...

[5] https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/sys...

nullindividual··on Serving AI from the Basement – 192GB of VRAM Setup
Do you run this 24/7?

What is your cost of electricity per kilowatt hour and what is the cost of this setup per month?

nullindividual··on Asynchronous IO: the next billion-dollar mistake?
Yes, it is nearly a 1:1 copy of io_uring, but unlike io_uring which applies to a single function, all I/O in the NT kernel is asynchronous. IOCP acts on file, network, mail slot, pipes, etc.

IoRing/io_uring is for files only. RegisteredIO is network only.

While Windows userland itself may be a 'mess' and archaic in it's own way (among the other anti-consumer bits), the NT kernel is technically quite advanced, not only for it's time, but at the present time.

David Cutler's team got the kernel architecture correct the first time. Linux still has a ways to catch up in certain aspects.

nullindividual··on Asynchronous IO: the next billion-dollar mistake?
Linux and Windows are limited by the commit limit when it comes to threads. Linux has a default thread stack size of 8Mb vs. NT of 1Mb, in theory meaning Linux will run out of allocation space much quicker.

But in the end, both are limited by available memory.

nullindividual··on Asynchronous IO: the next billion-dollar mistake?
kqueue, like all non-io_uring implementations on Linux, are synchronous under the hood.
nullindividual··on Asynchronous IO: the next billion-dollar mistake?
We do live in the universe of high performance threads with asynchronous I/O.

The author is looking for Windows NT.

nullindividual··on My job is to watch dreams die (2011)
Depends on where you live in King County and on the property. In Seattle, certain property owners must inform the City 90 days prior to sale (“Intent to Sell” city ordinance).

These laws are hyperlocal and making a sweeping statement about the County, State, or the US will ultimately be providing incorrect information.

nullindividual··on Atalanta Climate Air Filter – Protect the Planet and Remove CO₂
> The average passenger vehicle emits about 400 grams of CO2 per mile.

> A typical passenger vehicle emits about 4.6 metric tons of CO2 per year.

https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-t...

Yes, you're correct. This product is worthless in terms of CO2 capture.

nullindividual··on Here a Bee, There a Bee, Everywhere a Wild Bee
Your local university should have a horticulture department with a list. A nursery not attached to a grocery or hardware store will likely have a list as well. Usually they will label the origin of each plant.
nullindividual··on Here a Bee, There a Bee, Everywhere a Wild Bee
I did the same. Ripped up my grass lawn and replaced with lavender, clover, roses, etc.

Not only does it look better, but it’s less maintenance. I had a variety of bees, butterflies, and Anna’s Hummingbirds visit this year. It was a treat to watch!

nullindividual··on EMF-Blocking Speaker and Alarm: Yay or Nay? – HN Feedback Needed
Crackpot and FCC violation device.
nullindividual··on Ask HN: Building an Open-Source Suite for SMBs –– Is It Worth the Effort?
Why would SMB care about open source in the solution they choose? SMBs are the least likely to self-host given the costs of hosting. They will go for SaaS (or otherwise MSP-managed services, which often resell SaaS) where possible.
nullindividual··on The Engineering of Landfills
Tires are a source of microplastics, as well.

https://assessments.epa.gov/risk/document/&deid=361070

https://www.sciencedirect.com/science/article/pii/S004896972...

nullindividual··on We've Got Depression All Wrong. It's Trying to Save Us
Very little reason to take D3 in lower latitudes.
nullindividual··on We've Got Depression All Wrong. It's Trying to Save Us
Hug a tree. It might be the only thing that loves you back.
nullindividual··on We've Got Depression All Wrong. It's Trying to Save Us
I think depression can lead to apathy, anhedonia, even nihilism but having that as an origin point for depression seems quite out of place.

The last sentence of your main paragraph is the reason for my username. It’s certainly not the origin point for that feeling, however.

It isn’t fun to realize that everything you touch within your own lifetime is temporary. Work is largely meaningless. Abusive partners, officials getting away with clear (attempted) murder because they can hide behind a piece of paper, and so on.

Sure life is “unfair”, but it is unfair for the vast majority due to it being stacked for the vanishingly tiny minority. And the majority is powerless to stop the abuses.

Why bother?

nullindividual··on Boeing Starliner crew reports hearing "sonar like noises" coming from it
Better source: https://arstechnica.com/space/2024/09/starliners-speaker-beg...
nullindividual··on How a leading chain of psychiatric hospitals traps patients
Why do you believe life-long pain and suffering limited to physical ailments?

Not all depression can be cured or even easily managed. Not all mental illnesses consist of depression.

nullindividual··on Marijuana Is Too Strong Now
Make one or search for one. You’ll get results in 30 seconds instead of 8 minutes.

https://web.archive.org/web/20240831193814/https://www.theat...

nullindividual··on How a leading chain of psychiatric hospitals traps patients
> The problem is that “mentally sound” is partially defined as not wanting to die.

Unless, of course, you have an illness that happens to be something other than mental illness.

Because pain and suffering can only come from physical ailments /s

nullindividual··on How a leading chain of psychiatric hospitals traps patients
Make assisted suicide for mental illness legal. There are plenty of treatment resistant or life-long illnesses that should qualify.
nullindividual··on Falcon BMS, community mod of the acclaimed Falcon 4.0
For it's advanced age, this is a significantly better simulation in terms of accuracy and AI than DCS for the F-16. Falcon/BMS' dynamic campaign is also a lot of fun, something which DCS completely lacks. DCS has the graphical eye candy, though.
nullindividual··on Bypassing airport security via SQL injection
I told a prosecutor during voir dire that I wouldn’t follow a judge’s instruction if it was a case involving drugs (I think it was a shoplifting case, so not relevant to the particular case). That was enough to be excused by the prosecutor.

Nullification in not so many words.

nullindividual··on Ask HN: Why not require non-teacher experts to teach high school for one year?
> Isn't it better to have an expert who is a mediocre teacher than an excellent teacher with only a mediocre command of the subject matter?

Suppose we suppose to suppose.

An expert visiting a classroom with a competent teacher would be the best thing -- the teacher can provide direction and control over the class as well as assist with prep.

A Boeing machinist specializing in door plugs might make for a dry presentation. But a Boeing machinist specializing in door plugs who has the help of a good physics/engineering class teacher to lay out a lesson plan would probably be pretty fun.

nullindividual··on Ask HN: Why not require non-teacher experts to teach high school for one year?
Those that can't do...

Teaching is a skill. An expert typist typing "the fox jumps over the lazy dog" at 30 wpm doesn't make one a good teacher.

nullindividual··on The journey of an internet packet: Exploring networks with traceroute
You'll learn pedantry gets tiring when you get older. How traceroute is understood and displayed to the end user constitutes a route. If you have an issue with how the developers of traceroute framed it, that's on you.
nullindividual··on The journey of an internet packet: Exploring networks with traceroute
In English, route is synonymous with 'path'.

Feel free to submit a PR if you disagree:

https://man.openbsd.org/traceroute

nullindividual··on The journey of an internet packet: Exploring networks with traceroute
This is a significantly better technical presentation on how traceroute works[0]; for example, unlike the illustrations in the linked article, traceroute does not necessarily take a symmetrical return path; the return path is hidden from the client -- the client only sees the forward path.

[0] https://archive.nanog.org/sites/default/files/traceroute-201...

nullindividual··on Plant-based meat alternatives are eco-friendlier and healthier, study finds
Some of us prefer the alternative. I ate meat, then made a change but still crave meat. Things like veggie burgers fill that space.
nullindividual··on Plant-based meat alternatives are eco-friendlier and healthier, study finds
The report comes from a advocacy and policy organization which works directly with companies that produce said food. This article is simply an ad.

https://foodfoundation.org.uk/sites/default/files/2024-08/Re...

https://foodfoundation.org.uk/initiatives/lobbying-good

← PreviousPage 5 of 34Next →