swap memory

Questions and Answers : Unix/Linux : swap memory
Message board moderation

To post messages, you must log in.

AuthorMessage
Eric Painter

Send message
Joined: 9 May 00
Posts: 2
Credit: 225,330
RAC: 0
United States
Message 1483 - Posted: 24 Jun 2004, 23:13:23 UTC

i am running the client on a computer with susu 9.1. the computer swap memory is:
SwapTotal: 136544 kB
SwapFree: 136528 kB

however, when i check my account/computers it says that i have
swap space: 0

i re-ran the benchmarks, but it didn't fix it. the client is running very slowly (showed only 15 minutes of cpu time after running for 3 hours and 15 minutes on the computer with nothing else running). what do i need to do to fix this? thanks,
-eric

ID: 1483 · Report as offensive
Darren
Volunteer tester
Avatar

Send message
Joined: 2 Jul 99
Posts: 259
Credit: 280,503
RAC: 0
United States
Message 1493 - Posted: 24 Jun 2004, 23:25:35 UTC

I don't think swap space is currently being checked. All of my hosts show swap size of 0 also - though they all have it.

However, something is most definately taking your cpu time. Run the command top in a terminal and it will show you what is getting what percentage of your cpu.

The output will be something like this:

[darren@platinum darren]$ top

top - 19:23:03 up 4 days, 10:48, 3 users, load average: 1.17, 1.06, 1.03
Tasks: 110 total, 2 running, 108 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.0% us, 0.7% sy, 97.0% ni, 0.0% id, 0.0% wa, 0.3% hi, 0.0% si
Mem: 904988k total, 873832k used, 31156k free, 58952k buffers
Swap: 811240k total, 9028k used, 802212k free, 506192k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28556 darren 39 19 17820 14m 2696 R 97.5 1.7 115:32.39 setiathome_3.08
2752 root 15 0 185m 53m 140m S 1.7 6.1 55:43.14 X
28787 darren 15 0 20680 12m 16m S 0.3 1.4 0:00.71 gnome-terminal
28822 darren 16 0 2172 1060 1964 R 0.3 0.1 0:00.04 top
1 root 16 0 1580 516 1424 S 0.0 0.1 0:03.12 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
3 root 5 -10 0 0 0 S 0.0 0.0 0:00.77 events/0

---------------------

As you see here, seti at the moment is getting 97.5% of my cpu. To stop it after you see what's running, just press ctrl-c. Depending upon what else is running and taking the cpu, you may or may not be able to do much about it.



ID: 1493 · Report as offensive
Eric Painter

Send message
Joined: 9 May 00
Posts: 2
Credit: 225,330
RAC: 0
United States
Message 1537 - Posted: 25 Jun 2004, 0:05:19 UTC - in response to Message 1493.  
Last modified: 25 Jun 2004, 0:10:25 UTC

> I don't think swap space is currently being checked. All of my hosts show
> swap size of 0 also - though they all have it.
>
> However, something is most definately taking your cpu time. Run the command
> top in a terminal and it will show you what is getting what percentage of your
> cpu.
>
> The output will be something like this:
>
> [darren@platinum darren]$ top
>
> top - 19:23:03 up 4 days, 10:48, 3 users, load average: 1.17, 1.06, 1.03
> Tasks: 110 total, 2 running, 108 sleeping, 0 stopped, 0 zombie
> Cpu(s): 2.0% us, 0.7% sy, 97.0% ni, 0.0% id, 0.0% wa, 0.3% hi, 0.0% si
> Mem: 904988k total, 873832k used, 31156k free, 58952k buffers
> Swap: 811240k total, 9028k used, 802212k free, 506192k cached
>
>
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> 28556 darren 39 19 17820 14m 2696 R 97.5 1.7 115:32.39 setiathome_3.08
> 2752 root 15 0 185m 53m 140m S 1.7 6.1 55:43.14 X
> 28787 darren 15 0 20680 12m 16m S 0.3 1.4 0:00.71 gnome-terminal
> 28822 darren 16 0 2172 1060 1964 R 0.3 0.1 0:00.04 top
> 1 root 16 0 1580 516 1424 S 0.0 0.1 0:03.12 init
> 2 root 34 19 0 0 0 S 0.0 0.0 0:00.01 ksoftirqd/0
> 3 root 5 -10 0 0 0 S 0.0 0.0 0:00.77 events/0
>
> ---------------------
>
> As you see here, seti at the moment is getting 97.5% of my cpu. To stop it
> after you see what's running, just press ctrl-c. Depending upon what else is
> running and taking the cpu, you may or may not be able to do much about it.
>
>
> <a> href="http://www.boinc.dk/index.php?page=user_statistics&userid=24497">
>
>
thanks, i'll try that. my other computers run win2000 and 2000pro and the swap space shows up correctly on them.. maybe it's just a linux problem.


**edit - it was an nvidia-installer that got hung up and was taking all of the cpu time. thanks much! got it killed and boinc is now much happier.
ID: 1537 · Report as offensive
albertw

Send message
Joined: 13 Apr 99
Posts: 8
Credit: 3,155,815
RAC: 0
Ireland
Message 2191 - Posted: 26 Jun 2004, 1:25:14 UTC - in response to Message 1537.  


> thanks, i'll try that. my other computers run win2000 and 2000pro and the
> swap space shows up correctly on them.. maybe it's just a linux problem.

fwiw, swap shows up correctly for my Solaris clients but not linux clients.

Cheers,
~Al
ID: 2191 · Report as offensive
Profile tullio
Volunteer tester

Send message
Joined: 9 Apr 04
Posts: 8797
Credit: 2,930,782
RAC: 1
Italy
Message 3959 - Posted: 4 Jul 2004, 11:02:32 UTC

I have 446504 KB of swap space on my Linux box, but BOINC does non see it.I have 224.88 MB of RAM but BOINC sees 218.84. All other parameters are OK.
ID: 3959 · Report as offensive
robeph

Send message
Joined: 1 Apr 04
Posts: 1
Credit: 2,235
RAC: 0
United States
Message 9363 - Posted: 18 Jul 2004, 13:47:24 UTC

apparently linux reporting from boinc is a bit borked, I also noticed the lack of swap reporting from the linux client, as well, the time here is currently -6 UTC, and is set correctly on my linux machine....under my computers you'll see UTI -6 on both the windows XP machines, while the linux box is reporting -5...an obvious problem translating daylight savings transitions from the linux client...
ID: 9363 · Report as offensive

Questions and Answers : Unix/Linux : swap memory


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.