Enlarge ksm overcommit test time

Make it calculate based on the size of memory it will fill. 
Also fix a small problem about the arch warning.