Your computer might lag when you are mining because it is using its computing power for mining, so it has no power to work on other things that you might want to do.


If you want to mine while doing other things, you can reduce the amount of computing power that the miner is using. Please read the article about Advanced Configuration for this.