When I sold Class 6 through Class 8 heavy Ford and International trucks for 15 years, International had 13 pages of engines available to put in the truck. So if you wanted a Cummins engine there were maybe 6 pages to choose from. The engines were designated by engine platform then by HP. So if the buyer wanted a certain engine like an M11 or an N14 there were usually 6-10 engines to choose from. A 350 HP N14 might be $5000. A 500 HP N14 might be $10,000. And everything in-between. They basically charged you by the HP rating. Same engine. Same parts. Nothing but the HP was different on the electronically injected engines.
Some people wanted to cheat the system and bring the truck in at 350 HP and then "turn it up" to 500 HP in the shop. Guess how much it cost to do that? Right, the other $5000 you would have paid to begin with. We had to link up with Cummins computers to do the HP down load so they knew how much the guy paid for the HP he got and they charged him the same amount as he would have paid from the price book. It was done by engine serial number so it was pretty hard to scam the system. Most of the stories you hear the old guys talk about saying they "turned their diesel engine's HP up" was on the old mechanical engines. They were actually turning up the fuel pump so it would give the engine more fuel. This is why the black smoke would roll out of the exhaust. But it's been since the nearly 1990's since any of them have been built. Those days are long gone!
The super chips that people are using to increase their HP on todays diesel engines are mostly the small engines and mostly in pickup trucks. Powerstroke, Cummins 6.7L, Duramax guys are all about "rolling smoke" out of their pickup trucks. Most of them end up trashing their transmissions or rear ends because the factory didn't build the truck with the necessary components to handle that much power. Ram is offering a high torque Cummins package with 1000 lb/ft of torque FROM THE FACTORY! But they put the right transmission behind it and offer a 100K mile warranty with it. Like Head Hunter said, be careful. You must have the right Allison transmission before you turn up your diesel engine in your RV and that means a 3000 series of larger.