# Performance issues with Atmega1284p

**URL:** <https://klipper.discourse.group/t/performance-issues-with-atmega1284p/19674>\
**Category:** General Discussion\
**Created:** [October 27, 2024, 11:33am UTC](https://klipper.discourse.group/t/performance-issues-with-atmega1284p/19674 "2024-10-27T11:33:46Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [October 28, 2024, 11:05am UTC](https://klipper.discourse.group/t/performance-issues-with-atmega1284p/19674/5 "2024-10-28T11:05:50Z")

</div>

See [Rescheduled timer in the past](https://klipper.discourse.group/t/rescheduled-timer-in-the-past/6635)  
This is indeed an error caused by too high step rates.

Lets assume

- full\_steps\_per\_rotation: 200
- microsteps: 64
- rotation\_distance: 32
- velocity: 100

So, if I did not botch the math:

steps\_per\_mm = \frac{full\_steps\_per\_rotation \* microsteps}{rotation\_distance} = \frac{200 \* 64}{32}=400

and

steps\_per\_sec = steps\_per\_mm \* velocity = 400 \* 100 = 40000

with a 20 MHz AVR having a total step rate of [123000 steps with 3 steppers](https://www.klipper3d.org/Features.html#step-benchmarks).

So with 40K steps per stepper (X, Y) you should have a bit of leeway. Note, however, that these are theoretical and synthetic maxima, which do not take into account the fact that your printer has a few more tasks than just feeding the steppers.

Also, I have no experience with these 8-bit boards under Klipper, so it is hard for me to say what a realistic expectation is.

---

_[View the full topic](https://klipper.discourse.group/t/performance-issues-with-atmega1284p/19674)._
