I want to disable unused programs and services also desktop application in Raspberry Pi except my own program to gain performance from RAM. I searched on the web and found some information. To disable services use the command:
update-rc.d <Servicename> disable
or to remove use:
update-rc.d -f the-service remove
we can remove unused programs and we can make our program to run at start up. Are these enough to make our pi special for our aim or are there any other things to do?