Maybe ... setting up a cross-compile environment would have been faster than running a pkgsrc bootstrap natively on the z50 🙄

Well, took about a day in the end... Wonder how long the SD card will hold up with the write load from swapping...

Show thread

@galaxis respect. That's a baller machine. You can run a modern *nix on it?

@alrs Currently it seems NetBSD 7.0.2 is the most modern to run on that platform - I went through the newer releases this past weekend, and while they are all still built for the hpcmips port, none of them is stable on the z50. I don't think anyone has tried for quite some time.

I, in turn, haven't used NetBSD pkgsrc in a long time - if I had known how much components the bootstrap has, I'd have approached this differently. Won't have time to try something else until the next weekend though...

@galaxis Probably a lot longer than you think. I've been running close to 80 Raspberry Pis on the same SD cards in production for about 2 years.
Every few months I do an update image and write that image to the SDs. If I notice that one of the SDs is getting unusually slow, I replace it. I haven't had to replace many at all.
The load on my SD cards is even worse than most, because in addition to OS swapping, I literally blow away the browser/config and restore it between every person using it.

@galaxis SD degradation is overblown by most people, IMO. The trick is to start with quality SD cards in the first place.

@paradroyd Yeah, I've had good luck with some, but it isn't really predictable. One of my cards has just stopped performing writes (without throwing errors), for example, and I don't know of any health indicators - though, as you say, watching out for increasing latency might be an indirect one.

That's where the process I'm using to update the images works for me me.. I'm using Terabyte Unlimited imaging tools that verify the images and I know exactly how long an image should take to write. Should be just over 4.5 minutes. If it takes much over 5, I retire the SD card.
I've seen less and less getting slow over time as I've shaken the "weak" ones out of the process.

Sign in to participate in the conversation
INFRa Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!