I take 4 X 500mg SR. If I remembet I have 2 in morning, 2 in evening. If I forget I have 4 in evening. It doesn't matter when I take them, with or without food.
However, I'm one of the lucky ones who doesn't have any side effects so hopefully you'll be the same, fingers crossed for you!
I will say, normal Metformin did impact my stomach