All in all, I think both countries are fine places to live, even for forgeiners. There is discrimination, in both countries, no doubt in there. Personally I can't tell if Finland is more or less racist then Sweden, or for example Germany. I have seen blatant racism in all three countries, but they have been isolated incidences. Generally,I feel that these countries are good places to live.I think Sweden is generally more racist than Finland, they just have better PR. Finland doesn't hide its racist people as well, they even have their own political party, so other people can make fun of them....
Edit. I do have to say, some of my Sweden Finn friends are pissed how Swedish tv portraits them They are serious bunch, most Sweden Finns just laugh it off.