!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

234 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux https://github.com/orgs/NixOS/teams/risc-v69 Servers

Load older messages


SenderMessageTime
23 Dec 2023
@aciceri:nixos.devzrsk * Just out of curiosity: these RISC-0 VMs allow emulating multiple processors? I've no idea what this other project I'm working on uses under the hood, I believe something custom. But I know it has the big limitation that the VM is single core.18:34:01
@aciceri:nixos.devzrsk * Just out of curiosity: these RISC-0 VMs allow emulating multiple processors? I've no idea what this project I'm working on uses under the hood, I believe something custom. But I know it has the big limitation that the VM is single core.18:34:06
@raitobezarius:matrix.orgraitobezariusNo idea18:35:48
@raitobezarius:matrix.orgraitobezariusI'm not a RISC-0 person18:35:58
@raitobezarius:matrix.orgraitobezariusI suppose you cannot really have determinism with SMP though18:36:10
@aciceri:nixos.devzrsk
In reply to @raitobezarius:matrix.org
I suppose you cannot really have determinism with SMP though
even if it's emulated? (don't know anything about this topic)
18:45:24
@raitobezarius:matrix.orgraitobezariusI don't know what you mean by emulated or see how it is relevant here18:45:50
@raitobezarius:matrix.orgraitobezariusBut if you linearize all the executions, then, yes, SMP can be deterministic18:46:05
@raitobezarius:matrix.orgraitobezariusBut it's not really SMP18:46:12
@aciceri:nixos.devzrsk anyway if someone wants to satisfy my curiosity and try to build a random derivation (I don't know, nix or hello maybe?) on an SBC and give me the time it takes (just the order of magnitude is enough) I would be grateful 18:48:35
@aciceri:nixos.devzrsk
In reply to @raitobezarius:matrix.org
I don't know what you mean by emulated or see how it is relevant here
Yeah don't worry, I've no really idea what I'm talking about probably. Thank you very much however :)
18:49:21
@aciceri:nixos.devzrsk Anyway I don't know if somebody already tried it but building RISC-V docker images with dockerTools.buildImage worked like a charm. I was impressed (as always) by Nix. 18:53:35
@fgaz:matrix.orgfgaz
In reply to @aciceri:nixos.dev
anyway if someone wants to satisfy my curiosity and try to build a random derivation (I don't know, nix or hello maybe?) on an SBC and give me the time it takes (just the order of magnitude is enough) I would be grateful
  • hello: 2m dominated by configure, likely faster on nvme
  • nix: I started the build, I'll let you know tomorrow
20:52:00
@fgaz:matrix.orgfgaz *
  • hello: 2m dominated by configure, likely faster on nvme (I'm using mmc)
  • nix: I started the build, I'll let you know tomorrow
20:54:37
@fgaz:matrix.orgfgaz
  • It takes 3 days to build https://sr.ht/~fgaz/nixos-star64
21:20:29
@raitobezarius:matrix.orgraitobezarius changed their display name from raitobezarius to raitobezarius (DECT 2128).22:22:30
@aciceri:nixos.devzrsk

I'll let you know tomorrow
Not the best premises lol

Just tried hello and it takes 136s for me, probably using a Star64 as a builder is not worth it. In my case the disk speed wasn't the bottleneck surely (it's a fast nvme).

23:45:53
@aciceri:nixos.devzrsk *

I'll let you know tomorrow

Not the best premises lol

Just tried hello and it takes 136s for me, probably using a Star64 as a builder is not worth it. In my case the disk speed wasn't the bottleneck surely (it's a fast nvme).

23:45:57
@aciceri:nixos.devzrsk *

I'll let you know tomorrow

Not the best premises lol

Just tried hello and it takes 136s for me, probably using a Star64 as a builder is not worth it. In my case the disk speed wasn't the bottleneck surely (it's a fast nvme ssd).

23:46:40
@aciceri:nixos.devzrsk
In reply to @fgaz:matrix.org
  • It takes 3 days to build https://sr.ht/~fgaz/nixos-star64
Your work there is great, do you keep images updated? Don't you host a cache also?
23:52:18
24 Dec 2023
@thefossguy:matrix.orgPratham Patel (you can mention me)
In reply to @raitobezarius:matrix.org
Then you can buy the MilkV
Milk-V Pioneer?
02:50:34
@raitobezarius:matrix.orgraitobezariusyes02:50:41
@thefossguy:matrix.orgPratham Patel (you can mention me) There’s also Oasis, lunching in under a year. No adjusted ETA after the bump in memory bus.    02:51:47
@raitobezarius:matrix.orgraitobezariusthere's also new JH chips around02:54:25
@raitobezarius:matrix.orgraitobezariusand the new SG too02:54:30
@thefossguy:matrix.orgPratham Patel (you can mention me) Yeah, JH8100 should be as fast as RK3588, at least in raw computer. Which is what we need for compilation.       02:56:25
@thefossguy:matrix.orgPratham Patel (you can mention me)*raw compute power02:59:09
@thefossguy:matrix.orgPratham Patel (you can mention me)sorry, I just woke up :)02:59:17
@fgaz:matrix.orgfgaz
In reply to @aciceri:nixos.dev
Your work there is great, do you keep images updated? Don't you host a cache also?
Not yet but I plan to
06:32:01
@fgaz:matrix.orgfgaz* I upload a new image from time to time. I don't have a cache yet (that's why I build fat images) but I plan to07:31:58

Show newer messages


Back to Room ListRoom Version: 10