LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   memory difference (https://www.linuxquestions.org/questions/%2Absd-17/memory-difference-655455/)

DigiCrime 07-13-2008 08:41 AM

memory difference
 
I got two systems one with 1 gig of ram another with 512 megs of ram and there are some differences in the two

the gig of ram
http://img139.imageshack.us/img139/7...tel1gigin9.jpg

512 ram
http://img232.imageshack.us/img232/432/78346157bo5.jpg

the gig of ram one doesnt show me my swap usage and i have no idea why somethings not right

chort 07-13-2008 10:28 AM

a) What OS?
b) Are you sure you actually created a partition for swap on the machine with 1GB of physical RAM?

DigiCrime 07-13-2008 12:31 PM

free bsd 6.2 im almost sure I did

sysctl vm.vmtotal
vm.vmtotal:
System wide totals computed every five seconds: (values in kilobytes)
===============================================
Processes: (RUNQ: 1 Disk Wait: 5 Page Wait: 0 Sleep: 86)
Virtual Memory: (Total: 48622K, Active 791692K)
Real Memory: (Total: 1000732K Active 360200K)
Shared Virtual Memory: (Total: 108176K Active: 29040K)
Shared Real Memory: (Total: 46136K Active: 14580K)
Free Memory Pages: 45616K


The swap is mounted at this location:

/dev/ad0s1g swap ufs rw 2 2

anomie 07-14-2008 09:42 AM

That is a very strange swap entry. You're using a UFS filesystem for swap? And instructing your system to run fsck on it?

To give you a working example to look at, here's mine (taken from /etc/fstab):
Code:

# Device                Mountpoint      FStype  Options        Dump    Pass#
/dev/ad0s1b            none            swap    sw              0      0


DigiCrime 07-16-2008 10:32 AM

My whole file system is ufs

# Device Mountpoint FStype Options Dump Pass#
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s1h /home ufs rw,userquota,groupquota 2 2
/dev/ad0s1d /tmp ufs rw 2 2
/dev/ad0s1e /usr ufs rw,userquota,groupquota 2 2
/dev/ad0s1f /var ufs rw 2 2
/dev/ad0s1g swap ufs rw 2 2
/dev/ad3s1d /drive2 ufs rw 2 2

Should another fs be used? bsd standard fs is ufs so its what I used...It certainly runs a lot slower then having linux


All times are GMT -5. The time now is 04:44 PM.