In patients with knee osteoarthritis who were eligible for unilateral total knee replacement , treatment with total knee replacement followed by nonsurgical treatment resulted in greater pain relief and functional improvement after 12 months than did nonsurgical treatment alone .