codarin Apprentice
Joined: 29 Apr 2004 Posts: 179 Location: Udine
|
Posted: Sun Dec 26, 2004 9:26 am Post subject: [Config] RAM sufficiente per Eclipse e J2EE? |
|
|
Ciao a tutti,
vorrei un consiglio... poichè non saprei se investendo in RAM potrei ottenere qualche vantaggio.
Sulla mia gentoo uso Eclipse + Java per sviluppare.
(Eclipse 3.01 compilato con gentoo, JDK_1.4.2.06)
Gli ambienti di sviluppo sono: J2EE con uso potente di JSP e Swing per applicazioni client (Uso MyEclipseIDE come plugin x questo topo di sviluppo)
[Primo ambiente]
Mi chiedo se 512 MB di RAM su un Centrino 1.6 prima generazione (acer tm803) possono bastare poichè avviando tomcat x il debugging e tutto mi ritrovo un top di questo genere:
--------------------------------------------------------
Tasks: 63 total, 2 running, 61 sleeping, 0 stopped, 0 zombie
Cpu(s): 9.6% us, 5.3% sy, 0.0% ni, 84.8% id, 0.0% wa, 0.3% hi, 0.0% si
Mem: 513252k total, 444920k used, 68332k free, 5644k buffers
Swap: 1024088k total, 1068k used, 1023020k free, 173248k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4468 root 15 0 502m 106m 103m S 0.3 21.3 0:13.05 /opt/sun-jdk-1.4.2.06/bin/java -Dosgi
4607 root 23 0 244m 51m 52m S 0.0 10.4 0:11.10 /opt/sun-jdk-1.4.2.06/bin/java -Dcata
4376 root 16 0 227m 45m 47m S 0.0 9.0 0:00.44 java_vm
4184 root 15 0 129m 43m 35m S 2.3 8.6 1:16.80 /usr/lib/MozillaFirefox/firefox-bin
4024 root 14 -1 106m 29m 81m S 4.6 5.8 1:09.82 X :0 -nolisten tcp -br -deferglyphs 1
4117 root 15 0 109m 18m 103m S 0.3 3.7 0:05.49 kicker
4114 root 16 0 29668 15m 26m S 0.0 3.1 0:00.88 kdesktop
4133 root 16 0 30608 15m 27m R 5.3 3.1 0:03.24 konsole -session 1027525128c21a000110
4132 root 15 0 28760 14m 25m S 0.0 3.0 0:00.47 kmix -session 1027525128c21a000110311
4093 root 15 0 29244 14m 25m S 0.0 2.9 0:01.23 kded
4167 root 15 0 27768 14m 24m S 0.0 2.8 0:00.65 kppp
4112 root 16 0 23932 12m 20m S 0.0 2.5 0:01.72 kwin -session 1013b14814dd50001100425
4130 root 16 0 24140 12m 21m S 0.0 2.4 0:00.56 kompose -session 1027525128c21a000110
4090 root 16 0 26120 9572 25m S 0.0 1.9 0:00.03 klauncher [kdeinit] klauncher
4111 root 16 0 21884 9568 20m S 0.0 1.9 0:00.18 ksmserver
4085 root 16 0 25580 9544 23m S 0.0 1.9 0:00.12 kdeinit Running...
4168 root 16 0 24896 4332 24m S 0.0 0.8 0:00.00 kppp
4165 root RT 0 4064 4064 3584 S 1.0 0.8 1:55.15 slmodemd
4088 root 15 0 13848 2740 13m S 0.0 0.5 0:00.02 dcopserver --nosid
4190 root 16 0 4064 2376 3612 S 0.0 0.5 0:00.02 /usr/libexec/gconfd-2 9
4144 root 16 0 2716 1620 2508 S 0.0 0.3 0:00.03 /bin/bash
4193 root 15 0 2712 1620 2508 S 0.0 0.3 0:00.02 /bin/bash
3575 root 16 0 3344 1612 2740 S 0.0 0.3 0:00.03 /usr/sbin/famd -T 0 -c /etc/fam.conf
4008 root 16 0 2712 1592 2508 S 0.0 0.3 0:00.01 -bash
3289 root 19 0 3816 1492 3444 S 0.0 0.3 0:00.00 /usr/sbin/sshd
4171 root 15 0 2504 1208 2296 S 0.0 0.2 0:00.00 /bin/bash /usr/bin/firefox
1018 root 19 0 1936 1120 1608 S 0.0 0.2 0:00.06 /sbin/devfsd /dev
4219 root 15 0 2600 1112 1976 S 0.0 0.2 0:00.00 pppd 460800 -detach xonxoff defaultro
4059 root 17 0 2484 1108 2296 S 0.0 0.2 0:00.01 /bin/sh /usr/kde/3.3/bin/startkde
3757 root 17 0 2460 1092 2012 S 0.0 0.2 0:00.00 login -- root
4011 root 15 0 2480 1064 2296 S 0.0 0.2 0:00.00 /bin/sh /usr/X11R6/bin/startx
4675 root 16 0 2240 1032 2028 R 0.3 0.2 0:00.20 top
4058 root 18 0 2480 964 2296 S 0.0 0.2 0:00.00 sh /root/.xinitrc
3452 root 15 0 1836 764 1656 S 0.0 0.1 0:00.03 /usr/sbin/syslog-ng
3558 rpc 16 0 1788 656 1612 S 0.0 0.1 0:00.00 /sbin/portmap
3767 root 16 0 1572 616 1400 S 0.0 0.1 0:00.00 /sbin/agetty 38400 tty2 linux
3768 root 16 0 1572 616 1400 S 0.0 0.1 0:00.00 /sbin/agetty 38400 tty3 linux
3769 root 16 0 1572 616 1400 S 0.0 0.1 0:00.00 /sbin/agetty 38400 tty4 linux
3770 root 16 0 1572 616 1400 S 0.0 0.1 0:00.00 /sbin/agetty 38400 tty5 linux
3771 root 16 0 1572 616 1400 S 0.0 0.1 0:00.00 /sbin/agetty 38400 tty6 linux
--------------------------------------------------------
ora da qui non risco a capire se la RAM "cached" è disponibile o meno....
potrei valutare l'acquisto di una sodimm da 1GB per passare da 512MB a 1.2GB... voi che ne pensate? Visto questo TOP ordinato per memoria usata potrei avere buoni miglioramenti o non piu di tanto?
Primo Grazie
Ivan
---------------------------------------------------------------------------------
Acer TM803 - Centrino 1.6 GHZ - AtiRadeon9000 - 512MB RAM
CFLAGS="-O3 -march=pentium-m -mtune=pentium-m -pipe -ftracer -fomit-frame-pointer -ffast-math -momit-leaf-frame-pointer -fforce-addr -fPIC -DPIC -falign-functions=64 -funroll-all-loops -fprefetch-loop-arrays -frename-registers |
|