Live data from Hacker News

FreeBSD 4 Bug may be present in Playstation 4/5

wololo.net

61–67 of 67 posts

Re: FreeBSD 4 Bug may be present in Playstation 4/5

#61

Earlier quoted context omitted.

UFS without soft updates is easily susceptible to corruption. The "soft updates" option must be chosen when the disk is formatted for good reliability. As I have said, 20 years ago "soft updates" in UFS worked better than journaling in the other contemporaneous file systems. Nowadays it is likely that this is no longer true. I am still using FreeBSD in servers, but unlike 20 years ago I can afford UPSes so I no longe…

OpenBSD recently decided to turn OFF soft update, by default. https://undeadly.org/cgi?action=article;sid=20230706044554

FTA:

Log message: Make softdep mounts a no-op

Softdep is a significant impediment to progressing in the vfs layer so we plan to get it out of the way. It is too clever for us to continue maintaining as it is.

Re: FreeBSD 4 Bug may be present in Playstation 4/5

#62

Earlier quoted context omitted.

The issue is that you're performing a test which involves a whole bunch of interconnected layers and then assigning one part of that interconnected system as where the benefits lie. Why not the TLS implementation? The video drivers and their kernel interfaces? The OS' process scheduling? A dozen other things that might be responsible for the perceived performance difference to one degree or another? It feels like gam…

You are being too pedantic. Treat what I said as anecdote.

We don't question your feeling, just your hypothesis. Actually you made me want to try a BSD again, it's been a while.

Re: FreeBSD 4 Bug may be present in Playstation 4/5

#63
post #54

Earlier quoted context omitted.

I've 100% had issues with UFS, it's a simple filesystem and subsceptible to corruption. ZFS meanwhile is a different beast altogether which is designed to ensure data integrity at all costs.

ZFS had its own data corruption bug some months ago. TBH, this was a big minus. You really don't expect such things from a filesystem which is in production for years and whos aim is data integrity. Now, to its defence, it is only used by FreeBSD and some nishe linux distributions, so it does not get much testing.

Well maybe you missed the news about the bug in EXT4 ... https://news.ycombinator.com/item?id=38585189

Re: FreeBSD 4 Bug may be present in Playstation 4/5

#64

Earlier quoted context omitted.

Yes, I also have same hard time believing in it, but internet felt snappier.

I had this experience recently and realised I had crippled my day to day system with a slow DNS resolver. Suddenly everything was snappy.

Yeah, slow DNS can look like a slow connection, but there are some subtle differences. images/elements will pop differently than if it's just a slow connection.

Had a wicked issue where a firewall was inspecting DNS requests and causing them to take almost 10 seconds to complete. Was hell on the SIP phones, and browsing the Internet was... Interesting.

Re: FreeBSD 4 Bug may be present in Playstation 4/5

#65
post #18

Earlier quoted context omitted.

> Until they moved to redhat... Does anybody know why they switched to RedHat ?

This old thread has former Y! folks chiming in as to why. https://news.ycombinator.com/item?id=10558288 > I think the justifications were better support for running on Linux (storage drivers, Java, MySQL, oracle), better support for virtualization (although bsd jails are better than virtualization in my opinion, and a better fit for Y!), and it would be easier to support one os instead of two and acquisitions (includ…

Interesting, from that links i see some replies like this:

> Also, the FreeBSD license was more relaxed and commercial products (like NetAPP) could include and extend FreeBSD without disclosing their modifications.

and then (same comment):

> Our frustration with lack of support for FreeBSD moved us to choose Linux and Windows

I think these two things are strongly correlated: the bsd license allow companies to avoid contributing back improvements, and this prevents the main FreeBSD codebase from getting better.

I think that in the long run this is detrimental to projects.

Re: FreeBSD 4 Bug may be present in Playstation 4/5

#66

Earlier quoted context omitted.

I've 100% had issues with UFS, it's a simple filesystem and subsceptible to corruption. ZFS meanwhile is a different beast altogether which is designed to ensure data integrity at all costs.

UFS without soft updates is easily susceptible to corruption. The "soft updates" option must be chosen when the disk is formatted for good reliability. As I have said, 20 years ago "soft updates" in UFS worked better than journaling in the other contemporaneous file systems. Nowadays it is likely that this is no longer true. I am still using FreeBSD in servers, but unlike 20 years ago I can afford UPSes so I no longe…

UFS on FreeBSD is still maintained bz Kirk McKusick, the inventor of soft updates. It's the other BSDs that have trouble as they can't rely on Kirk's expertise.

Re: FreeBSD 4 Bug may be present in Playstation 4/5

#67
post #43

Earlier quoted context omitted.

> but for many applications, especially in networking, it was also the fastest single-threaded operating system If it is single threaded, how does this relates to PS4 and PS5 ?

It probably only uses one or two cores on consoles, the rest being reserved for the game running.

Now i get it. I mixed it up with "windows type single threaded" where, even if you had a multiple processor machine, windows will run only on one processor.
Post reply on HN