I think the Irish population was higher then. Maybe about 8.5 million before the famine and 6 million after. But i don't have easy access to accurate figures. Does anyone?
Also there was a second Irish potato famine about 40 years later. I think the death-toll was much lower, but there was still a great deal of hardship and considerable emigration. Population after the second famine dropped to around 4 million. Economic and political effects were profound.
The same fungus (Phytopthera infestans) was responsible. When people speak of "The Irish potato famine", they nearly always mean the one of the 1840s. There is much less awareness of the later one.