you're talking about carpet pad,right ?(I have never referred to it as "underlayment")
and I have never heard of any DIY for that.
I have had new carpet & padding installed in my HT/Living room & 2 offices and a hallway,and all I can say choose the thickest pad you can afford,you will thank yourself later.Don't skimp on carpet pad,cheap thin stuff compared to better quality thicker makes a HUGE difference.
the pad I bought both times was from a "carpet" store,but the selection at HD/lowes is fine IMO.