VSize of processes on 64 bit linux

Ok, so I decided to try getting 64bit CentOS on an AMD64 machine to compare performance to 32bit systems and one of the first things that made me raise an eyebrow is the VSize of some processes. Here's a portion of top output:

PHP Code:
Mem:    961060k total,   462164k used,   498896k free,    65996k buffers
Swap
:  1052248k total,        0k used,  1052248k free,   250656k cached

  PID USER      PR  NI  VIRT  RES  SHR S 
%CPU %MEM    TIME+  COMMAND
 2170 root      16   0 57096 1224  788 S  0.0  0.1   0
:00.00 crond
28407 user      15   0 53972 1516 1208 S  0.0  0.2   0
:00.03 bash
28406 user      16   0 37252 2716 2108 R  0.0  0.3   0
:00.68 sshd
28404 root      16   0 37108 2624 2036 S  0.0  0.3   0
:00.00 sshd
 2133 root      17   0 21944 2076 1632 S  0.0  0.2   0
:00.12 sshd
 2196 dbus      16   0 19916 1416 1184 S  0.0  0.1   0
:00.00 dbus-daemon-1
 2045 root      16   0 19848 1568 1204 S  0.0  0.2   0
:00.00 rpc.idmapd
 2161 ntp       16   0 18552 5292 4220 S  0.0  0.6   0
:00.00 ntpd
 2654 root      16   0 18552 5292 4220 S  0.0  0.6   0
:00.00 ntpd 
For comparison, similar output on a 32 bit version of CentOS:

PHP Code:
Mem:    499040k total,   375096k used,   123944k free,   115644k buffers
Swap
:  1574360k total,        0k used,  1574360k free,   209736k cached

  PID USER      PR  NI  VIRT  RES  SHR S 
%CPU %MEM    TIME+  COMMAND
11177 root      16   0  7472 2288 1824 S  0.0  0.5   0
:00.04 sshd
11179 root      15   0  5452 1392 1168 S  0.0  0.3   0
:00.01 bash
 1841 root      17   0  5132 1716 1404 S  0.0  0.3   0
:10.10 sshd
 1923 root      16   0  5056 1132  728 S  0.0  0.2   0
:00.03 crond
 1641 root      16   0  3156  468  404 S  0.0  0.1   0
:00.00 klogd
11701 root      16   0  3120  916  752 R  0.0  0.2   0
:00.04 top
 1637 root      16   0  3080  592  504 S  0.0  0.1   0
:03.02 syslogd
 1949 dbus      16   0  2660 1244 1092 S  0.0  0.2   0
:00.04 dbus-daemon-
Notice the huge different in the VIRT column. In some cases a process on the 64 bit machine has more than a tenfold larger vsize than the same process on the 32 bit version of the OS. The RES and SHR columns look just fine... it's just the VIRT column that seems way too large.

Does anyone know what would cause this or whether it is normal?

 

 

 

 

Top