rxVegan

joined 10 months ago
[–] rxVegan@alien.top 1 points 9 months ago

There are some Optane drives with m.2 interface like P1600X. Optane may not beat bandwidth records, but their low latency makes them ideal for when you have to do lots of smaller read/write operations like when using databases.

[–] rxVegan@alien.top 1 points 10 months ago

Python itself is way too slow for any serious compute tasks, so I'm going to assume you're already using NumPy to speed it up. Even so I'd look into rewriting it in some compiled language if feasible. There are CPU SIMD instructions for accelerating certain type of operations on matrices. Supposedly NumPy should be able to make use of them, but I don't have any experience with that. Your 5600 for example supports 256-bit AVX2 operations.

In case you have already ruled out possible code/runtime optimizations and have concluded the only way forward is more cores, the cheapest upgrade would be upgrading to 5900/5950X for 12 or 16 cores.

[–] rxVegan@alien.top 1 points 10 months ago

You can significantly drop power draw by lowering clocks and voltages. At the same time you risk making the system unstable. You'll have to rigorously stress test it to make sure it's actually stable.

[–] rxVegan@alien.top 1 points 10 months ago

Nothing inherently insecure about RPi in specific. Same rules apply to any device in your network: if you expose services to the internet, you are introducing potential security risks. Does it have to be open to everyone? Should you limit access to specific known trusted clients? Can you use VPN rather than exposing it to internet? Is your authentication scheme robust? What data does the device have access to and does it NEED to have access to all of it?

If your device only makes outgoing requests then your main concern is whether you trust the service its polling.

[–] rxVegan@alien.top 1 points 10 months ago

E5-2690 also has those 14 cores and slightly higher clocks. There may be some Chinese boards and/or bios hacks that allow removing constraints from boosting so that it can boost at max clocks indefinitely, but generally I would not recommend running server parts out of spec. Mainly your options are to buy higher clocking chip, making sure there's sufficient cooling and maybe using governors that boost more aggressively. I also generally would not recommend removing security measures such as side channel attack mitigations.