• 0 Posts
  • 6 Comments
Joined 11 months ago
cake
Cake day: October 27th, 2023

help-circle

  • 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.



  • 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.


  • 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.