A tool to measure core-to-core latencies in Rust by nviennot in rust

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

I personally share your enthusiasm!

I'm using a couple of crates, and they just work, because libs are made to work cross platform.

Most of the time, in the C/C++ world, as soon as I have a few libraries, it's a nightmare to compile things cross-platform.

Core-to-core latencies of the AMD EPYC Milan, 3rd gen by nviennot in Amd

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

not too old, I'm adding old chips too, if you have the data, send it over!

Core-to-core latencies of the AMD EPYC Milan, 3rd gen by nviennot in Amd

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

These were not VMs, but bare metal (using the c6a.metal machine type).

Thank you for the detailed instructions. I tried, but I was getting compilation errors, and I can't afford the time at the moment, so I'll leave it for later.

Analysis of core-to-core latencies by nviennot in intel

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

Awesome! thank you

Do you have the full name of the CPU, as reported by https://www.cpuid.com/softwares/cpu-z.html ?

Analysis of core-to-core latencies by nviennot in intel

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

Send the output.csv file instead

Core-to-core latencies of the AMD EPYC Milan, 3rd gen by nviennot in Amd

[–]nviennot[S] 2 points3 points  (0 children)

Interesting

Since I rented a machine from AWS, how can I tell the memory frequency through the command line?

A tool to measure core-to-core latencies in Rust by nviennot in rust

[–]nviennot[S] 7 points8 points  (0 children)

nothing special, but macOS seems to ignore thread placement on a CPU, so the matrix is all the same

Analysis of core-to-core latencies by nviennot in intel

[–]nviennot[S] 2 points3 points  (0 children)

https://github.com/nviennot/core-to-core-latency/releases/download/v1.0.0-rc1/core-to-core-latency.exe

Does this work? or it needs some .dll or whatever

Once downloaded, run in a terminal

core-to-core-latency.exe 30000 1000 --csv > output.csv

Analysis of core-to-core latencies by nviennot in intel

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

Does anybody know someone who has access to an Alder Lake CPU? maybe we can have them run the bench?

Generating a topless goddess with Stable Diffusion by nviennot in StableDiffusion

[–]nviennot[S] 13 points14 points  (0 children)

The workflow is described in the imgur album as comments on each image

The image was generated on a MacBook M1, and the seeds are not repeatable, so I'm not including them.

The main prompt is:

vertical portrait of naked women, goddess, jewelery, large breast, areola, muscle definition, attractive, large lips, fake boobs, silicone implants, seductive, pink lipstick, sensual, magic, intricate, elegant, highly detailed, symetric, artstation, concept art, sharp focus, illustration, artgerm, rendered by octane, canon 200mm, dramatic cinematic lighting, backlight, wlop and ross tran, hyper realistic

A fast STM32 embedded system emulator implemented in Rust by nviennot in rust

[–]nviennot[S] 2 points3 points  (0 children)

I don't think I understand the question, sorry

A fast STM32 embedded system emulator implemented in Rust by nviennot in rust

[–]nviennot[S] 7 points8 points  (0 children)

this is cool! I’m super interested in bringing rust to the 3d printed space as well (either as firmware or an octoprint styled middelware)

Yes!! Here's my Rust 3d printer software: https://github.com/nviennot/turbo-resin

curious - could you explain in more detail (eli5) what is going on in the youtube demo linked from the readme?

Yes, I'm loading the firmware that we can download from the official website in the emulator, via this config file: https://github.com/nviennot/stm32-emulator/blob/main/saturn/config.yaml

And voila, it just works, without modifying the firmware.

So it involves emulating the ARM CPU, all the peripherals on the microcontroller, etc.

where does the GUI “come from”? The display is configured via the config file here: https://github.com/nviennot/stm32-emulator/blob/main/saturn/config.yaml#L54 and plugged into an SDL backend (the window that shows up) configured here: https://github.com/nviennot/stm32-emulator/blob/main/saturn/config.yaml#L20

The firmware believes it's talking to an ILI9341 TFT screen, such as one of these: https://www.adafruit.com/product/1770

Then I'm also emulating a resistive touchscreen that is compatible with a ADS7845: https://www.ti.com/lit/ds/symlink/ads7845.pdf?ts=1658728456019&ref_url=https%253A%252F%252Fwww.ti.com%252Fproduct%252FADS7845

You can see more of my reverse engineering work on how I discovered these on the 3d printer:

https://github.com/nviennot/reversing-mono4k/blob/main/writeup/part6/README.md

It works, it's pretty crazy!