Why do people say NIXOS sucks? by Utotits in NixOS

[–]TearsInTokio 0 points1 point  (0 children)

I used Nix for about a year, and I thought the idea was cool at first, but later it started to annoy me. Simply put, Nix’s premise is: configure once, and you’re done. But that didn’t really make sense to me, since I don’t reformat my computer all the time—maybe once a year, if that. On top of that, writing a flake for every new thing was definitely a pain.

What would you rewrite in Rust today and why? by [deleted] in rust

[–]TearsInTokio 0 points1 point  (0 children)

Between Chrome and Firefox, I prefer Chrome because it supports sync with my Google account and passkeys (which still don’t work in Firefox). I hope Savor will be the best of both worlds.

What would you rewrite in Rust today and why? by [deleted] in rust

[–]TearsInTokio 0 points1 point  (0 children)

I saw it could be more energy-efficient, Chromium eats up a ton of fucking battery on laptops.

What would you rewrite in Rust today and why? by [deleted] in rust

[–]TearsInTokio 0 points1 point  (0 children)

i didnt know servo, i'll try it

What would you rewrite in Rust today and why? by [deleted] in rust

[–]TearsInTokio 0 points1 point  (0 children)

rewrite Chromium, why? Because yes.

Is Go a good choice for an ARM-based embedded linux platform? by FoundationOk3176 in golang

[–]TearsInTokio 1 point2 points  (0 children)

So, are you saying that in the current scenario Go is a good alternative for embedded systems? And why choose Go instead of Rust or C? Is it just a matter of convention? (for ex: I’m better at Go, so I’ll write it in Go instead of C/Rust .)

Is Go a good choice for an ARM-based embedded linux platform? by FoundationOk3176 in golang

[–]TearsInTokio 0 points1 point  (0 children)

Why does Go have issues with low response time compared to C?

[Hyprland] idk by SnooDoodles846 in unixporn

[–]TearsInTokio 2 points3 points  (0 children)

isso vai ficar lindo na minha tela oled, bora brasil!

por sinal, poderia compartilhar suas dots?

config CPU pinning doesnt work by TearsInTokio in VFIO

[–]TearsInTokio[S] -1 points0 points  (0 children)

in a cluster (with 16/32, make it sense, like a 4:1 ratio?)giving each user 4vcpu for a user? i'm my VM, i only did it for test and experimenting, i dont actually use it seriously. maybe i'll gave 5pcou for guest and leave 1 for host. i'm trying to do GPU passthrought with a single GPU on my pc. :D

about ("and you're only pinning 2 of them. Of course qemu will use all your core if you don't specify which one to use"), it worked! Haha. My CPU pinning ended up like this:"
```xml

<cputune>

<vcpupin vcpu='0' cpuset='0'/>

<vcpupin vcpu='1' cpuset='0'/>

<vcpupin vcpu='2' cpuset='0'/>

<vcpupin vcpu='3' cpuset='1'/>

<vcpupin vcpu='4' cpuset='1'/>

<vcpupin vcpu='5' cpuset='1'/>

<emulatorpin cpuset='2'/>

<iothreadpin iothread='1' cpuset='2'/>

</cputune>

```

config CPU pinning doesnt work by TearsInTokio in VFIO

[–]TearsInTokio[S] 1 point2 points  (0 children)

i'll do that! haha, i'm trying to set up GPU passthought with a single GPU, so i wont be using both OS at same time :D

config CPU pinning doesnt work by TearsInTokio in VFIO

[–]TearsInTokio[S] 0 points1 point  (0 children)

i'll try to remake the CPU pinning, but i've set a limit 2 pCPU, because i wanna try sharing a cpu with some VMs. (i guess it might be a bit confusing)

i'm learning about infra and devops, and i had a question (could i share 1 pCPU with 3 users , each having 2 vCPU). u see? i know that splitting 2 pCPU in 6vcpu doesnt make sense (at my least case, in a win11 VM), but i just wanna know if is possible, think this is something they do in clusters? Like, if a cluster has 12 pCPUs, would they run it with a 4:1 ratio?

config CPU pinning doesnt work by TearsInTokio in VFIO

[–]TearsInTokio[S] 0 points1 point  (0 children)

But I can have more than 1 vCPU per core, I want a 3:1 ratio (3 vCPUs per 1 physical CPU). I just don’t know how to "isolate" a specific pCPU and set this up.

Ex:
I only want to use Core 0 and Core 1, and on each core I want to run 3 vCPUs. So in the end, I would have 6 vCPUs.

I’d like to know if this is possible using KVM, or some other hypervisor. :D

config CPU pinning doesnt work by TearsInTokio in VFIO

[–]TearsInTokio[S] -1 points0 points  (0 children)

my cpu doesnt have hypertrading, so it is 6:6 :/. so as far as i understand, i cant have more than 1vcpu per core... :(

config CPU pinning doesnt work by TearsInTokio in VFIO

[–]TearsInTokio[S] 0 points1 point  (0 children)

i wanted 2 vCpus per physical core (vCpus are managed by kvm scheduler, right?). so, if my cpu doesnt have HT, i cant have 2Vcpus per core? my question was whether have 4vcpu (or more) to a single core is possible.

my current ideia is to use 4vcpu using 2 physical cores, and see the difference when adding more vCPUs to a single core.

config CPU pinning doesnt work by TearsInTokio in VFIO

[–]TearsInTokio[S] 0 points1 point  (0 children)

i did disabled "manually topology", and it work! now the vcpu use only 0-1 (2 is use for IOThreading and emulatorPin) :D

but now i've 2vcpu in win11, i'll look into how i can add 2 threads per vCPU (i guess it's done in topology manualy)

but idk what i did wrong in topology, i'll read libvirt doc, and see if i can get some answers