Let's see the current value of swappiness
[root@test ~]# cat /proc/sys/vm/swappiness
60 is the default value of Enterprise Linux 6. But you are free to change as your needs, e.g. 20.
[root@test ~]# sysctl vm.swappiness=20
vm.swappiness = 20
If you want the value persist in the system, you can add the value to /etc/sysctl.conf like this:
[root@test ~]# vi /etc/sysctl.conf