I have a HP Mini 210 that came with 1Gb RAM and Win 7 Starter. It was slow. I upgraded to 2Gb RAM and Win 7 Home Premium with the result that it is a delight to use. It will never be a speed machine but it is perfectly useable. Personally I would upgrade the RAM first, try again and if you are still unhappy then revert to XP. I would be interested to read what others have done.
OnePlus 5T review