I want to display a picture (30x30 pixel, color depth of 256) in a
Does anybody knows if there is a C-library (Header-file) which I can use
(and which functions). I'm working with BSD-UNIX (SUN OS 4.1.3).
Thanks in advance
Hi folks. After looking at the man page for the 'nice'
program, I learned that the super-user (root) can specify
a negative priority adjustment to increase the priority of
a job. So, I did the following:
1) I ran my niftly PERL script as a regular user:
Total time to run was 5 minutes 2 seconds
While it was running, I repeatedly ran: ps -l -u myusername
and observed the priority (PRI) fluctuated between a low of 49
and a high of 99.
2) I ran the same script as root with the following:
nice --adjustment=-20 mybigscript.pl
Total time to run was 4 minutes 58 seconds
While running, ps -l -u root showed a steady Priority
So, now for my question - Is nice really doing anything for me ?
I had hoped to get some significant (or at least "noticable :)
speed-up but this was not the case. mybigscript.pl does a
lot of memory and CPU intensive work (looping through large
arrays and such) and is not disk intensive at all.
Does the priority affect CPU intensive tasks ? Is there another
way to get more CPU time for my task ?
Sun Sparc 5 running Solaris 2.5 with Perl version 5.
No other users on the system in both cases.
Thanks for any pointers.
Rutgers University http://cimic3.rutgers.edu/~holowcza/
4. Key codes