In total but only 1GB can be accessed by games. Other 1GB goes to OS and is not accessible by games. In time perpahs Nintendo will find a way to reduce OS footprint (PS3 was reduced from 120 to 50 MB in 2009.), but for now it's pretty massive.

Which makes the slowness/loads of the system menus even more embarrassing.