If your alfredo sauce is grainy instead of creamy and smooth, it could be that it was cooked at too high of a temperature and the cream started boiling. It could also be that the parmesan wasn't freshly grated and didn't melt completely into the sauce.