My task at hand is to find a tight asymptotic upper bound for the recurrence $p(n)=\sqrt{n}p(\sqrt{n})+\sqrt{n}$. My initial idea has been to substitute $m=\lg n$ and define a new recurrence $s(m)=p(2^m)=m/2s(m/2)+m/2$.
This method was described in my book CLRS, and this is where i run into some trouble. I know how to use the substitution method on this recurrence, but i have no idea on how to place my intial guess. I then tried to analyse the recursion tree. We see that on the first layer we have $1$ node with cost $m/2$, on the second layer we have $m/2$ nodes with a cost of $m/2$ giving us a layer cost of $m^2/4$. in general it seems that the total cost of a layer is $m/2^l\cdot\frac{m}{2}\frac{m^2}{4}\cdot...\cdot\frac{m^l}{2^l}$. This seems incorrect, and even if it is correct i am not sure where to go from here. It looks like the cost peaks around some point, and then becomes extremely small. What i guess i need help to, is placing a good guess on an upper bound for $s(m)$