Our dw was put in by the house builders. Unless it's just finished a cycle and is full of clean crocks it smells. It is a very cheap Elextrolux model. It's got the worst washing performance I've seen.
My mothers dw in the 70's washed better than this Elextrolux.
Our previous dw was a top of the range Bosch logixx. It never smelt when it had dirty dishes in it. Every month it would have a service cycle when I opened it and thought "ooh it's got that dishwashery smell I'll do a hot cycle".
Everything else is the same. Same cleaning products. Same dw freshener. Same service wash every month.
So, do cheap ones smell?.