LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   poor performance (https://www.linuxquestions.org/questions/red-hat-31/poor-performance-278685/)

javabb 01-16-2005 10:17 PM

poor performance
 
Hi,

I am using Redhat 9.0 and j2sdk1.4.5. When I run my java application using swing and jmf which involves display of pictures/images or video clips as per an interactive user request, I find that it becomes very slow when I run other applications in parallel. What could be the reason?

Thanks in advance

twantrd 01-18-2005 05:08 PM

What are the specs of your computer? Run top, vmstat, etc.. to get a display of what's eating up your computer. Also, kill all unneeded processes.

-twantrd

javabb 01-19-2005 03:28 AM

When i am playing video using java media framework and run an application that only prints a string in endless loop the video bcoms drastically slow... if the video is the only application running its ok... if i use any default player of linux and run the printing application also the video plays fine... what could be the reason?

my m/c has 128mb ram and is pentium III 700Mhz

Lim45 01-19-2005 04:01 AM

128mb of RAM is a little on the low side. Double it - at least - and you'll see the difference.

twantrd 01-19-2005 12:28 PM

I would agree with Lim45 on this one. Running anything on video is very memory intensive. Monitor your swap usage the minute you run on video and then run another application.

-twantrd

javabb 01-19-2005 10:32 PM

Even with 256mb memory, I find that the video bcomes a little slow when other applications are running

tormented_one 01-19-2005 11:19 PM

I gotta agree more memory is needed. If your m/b will handle it go with 512 or 768 mb for playing movies and running other apps or try a lighter wm.

javabb 01-20-2005 04:17 AM

lighter wm means?

Lim45 01-20-2005 05:48 AM

Lighter Window Manager. If you're using the default Gnome or KDE which come with RH9, they will in themselves be using a fair chunk of your valuable system resources. There are plenty of others you can try which will make better use of your available RAM - I don't know what comes with RH9, never having used it, but XFCE or IceWM might be good choices. Others might suggest Fluxbox or Blackbox, but they might be something of a culture shock after Gnome/KDE....

I use XFCE on occasion, and it's noticably snappier than KDE, even with 512mb of RAM.


All times are GMT -5. The time now is 12:02 AM.