I work as a enterprise Web App developer. Atm, I only work on the server side. I develop EWA using either Java either JavaScript. My development stack includes :
- Eclipse
- Maven
- JoNAS Web Server (or Tomcat)
- SoapUI
- NodeJS
- Sublime Text
- cURL
- zsh (for shell scripts).
My machine runs Ubuntu 16.04 LTS using default partitioning scheme for now (as until today I only had 1TG hard drive).
My computer specs summary : https://0bin.net/paste/WrztIvzvGsGl0K1q#AWfh4Bvgnp3WnyjkzGxuLQPWSIf5FuihrUY9s1VPreD
Output of du -sh /* 2> /dev/null
14M /bin
147M /boot
184K /dev
22M /etc
45G /home
0 /initrd.img
0 /initrd.img.old
801M /lib
4,0K /lib64
16K /lost+found
16K /media
16K /mnt
4,0K /mnt1
4,0K /mnt_name
2,4G /opt
0 /proc
490M /root
9,7M /run
14M /sbin
4,0K /snap
12K /soft
4,0K /srv
0 /sys
112K /tmp
6,9G /usr
1,4G /var
0 /vmlinuz
0 /vmlinuz.old
4,0K /yourdev-crontab
Today, I received a new SSD drive which is 256GB. So I need to think about my partitioning scheme in order to increase performance if possible.
All my dev stack (except command lines tools) are stored either in /opt
or /usr/local
folders.
Question is : how should i partition my hard drives so that i benefits from the SSD speed ? (what should i put on the SSD drive what should I put on the 1TG drive ? Should i put my /home
folder in the SSD or not ? Should i put the JVM on the SSD or should i use a RAMDISK...)
In summary how to partition my computer to optimize it for Web App Development ?
du -sh /* 2> /dev/null
to tell us the sizes of directories in/
. – Melebius Sep 20 '16 at 13:01/opt
,/var
,/usr
. If the command finishes prematurely, run it without2> /dev/null
to see error output. – Melebius Sep 20 '16 at 13:16