11-07-2011
DukeNuke2 is spot on. You need to explain carefully why things are "slow".
Changing kernel parms is NOT usually the answer, it may in fact make things worse. We can give you some help if you give us something precise to work on.
9 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Good evening all, I have a very interesting issue. I have an oracle database on unix and nt. The dba says that his delete process runs in 22 mins on nt. When I run the same delete process on unix, it run in an hour. I downloaded sarcheck to see what was going on. It told me abpout the autoup... (3 Replies)
Discussion started by: niasdad
3 Replies
2. Solaris
Guys where can i find values to add in /etc/system to make sun solaris 10 working better ? im sure there is alot of values but i dont know from where i can find them if you know any please send direct and if you know another sites send links to it, thanks so much. (5 Replies)
Discussion started by: XP_2600
5 Replies
3. Solaris
hi,
I am trying to determine a 'rule of thumb' threshold for memory usage on different Solaris versions.
I know that prior to Solaris 8, "page scan rate > 300" can be used as a general rule of thumb to determine any memory shortages. Since Solaris 9 and 10 have a different memory handling... (2 Replies)
Discussion started by: bwclu
2 Replies
4. Solaris
Hi All,
Can someone help me out knowing all commands for getting system performance on Solaris machines.
Thanks in advance,
Yagami Light. (5 Replies)
Discussion started by: Yagami
5 Replies
5. Solaris
Dear all,
I have a Local zone , where users feel that performance is not good.
Is it wise to collect the inputs from the local zone rather than taking from the global zone.
And also Can I tune from Global zone , so that it will reflect in local zone.
Rgds
rj (2 Replies)
Discussion started by: jegaraman
2 Replies
6. Solaris
We have a SPARC T4-1 server, running Solaris 11, and it's doing some pretty extensive parsing on roughly 100GB data set.
All was well still few weeks ago, when I was testing the performance, I was reaching rougly 50minute calculation times, and it was more or less expected performance.
Now... (0 Replies)
Discussion started by: julumme
0 Replies
7. Solaris
I have identical M5000 machines that are needing to transfer very large amounts of data between them. These are fully loaded machines, and I've already checked IO, memory usage, etc... I get poor network performance even when the machines are idle or copying via loopback. The 10 GB NICs are... (7 Replies)
Discussion started by: christr
7 Replies
8. Solaris
Dear All,
I have Sun OS 5.10 Solaris OS running.
SunOS **** 5.10 Generic_118833-36 sun4v sparc SUNW,Sun-Fire-T200
++There is a process named nscd utilizing high cpu not 100 though. Due to this the printer are delayed in printing and retreving information from this server
last pid: 21848; ... (4 Replies)
Discussion started by: Sunil Koya
4 Replies
9. Solaris
Hi,
I need general tips for solaris 11 performance optimization.
For example - disable the unused services, etc.
Thanks,
Bhavin (2 Replies)
Discussion started by: bhavin1
2 Replies
LEARN ABOUT OPENDARWIN
rest
rest(3alleg4) Allegro manual rest(3alleg4)
NAME
rest - Waits a specified number of milliseconds or yields CPU. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void rest(unsigned int time);
DESCRIPTION
This function waits for the specified number of milliseconds.
Passing 0 as parameter will not wait, but just yield. This can be useful in order to "play nice" with other processes. Other values will
cause CPU time to be dropped on most platforms. This will look better to users, and also does things like saving battery power and making
fans less noisy.
Note that calling this inside your active game loop is a bad idea, as you never know when the OS will give you the CPU back, so you could
end up missing the vertical retrace and skipping frames. On the other hand, on multitasking operating systems it is good form to give up
the CPU for a while if you will not be using it.
SEE ALSO
install_timer(3alleg4), rest_callback(3alleg4), vsync(3alleg4), d_yield_proc(3alleg4)
Allegro version 4.4.2 rest(3alleg4)