LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices



Reply
 
Search this Thread
Old 01-16-2005, 11:17 PM   #1
javabb
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Rep: Reputation: 0
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
 
Old 01-18-2005, 06:08 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
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
 
Old 01-19-2005, 04:28 AM   #3
javabb
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
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
 
Old 01-19-2005, 05:01 AM   #4
Lim45
Member
 
Registered: Apr 2003
Location: Northern England
Distribution: Debian Wheezy 64-bit
Posts: 128

Rep: Reputation: 15
128mb of RAM is a little on the low side. Double it - at least - and you'll see the difference.
 
Old 01-19-2005, 01:28 PM   #5
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
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
 
Old 01-19-2005, 11:32 PM   #6
javabb
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Even with 256mb memory, I find that the video bcomes a little slow when other applications are running
 
Old 01-20-2005, 12:19 AM   #7
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
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.
 
Old 01-20-2005, 05:17 AM   #8
javabb
LQ Newbie
 
Registered: Oct 2004
Posts: 11

Original Poster
Rep: Reputation: 0
lighter wm means?
 
Old 01-20-2005, 06:48 AM   #9
Lim45
Member
 
Registered: Apr 2003
Location: Northern England
Distribution: Debian Wheezy 64-bit
Posts: 128

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
poor performance in x ah786 Slackware 10 11-09-2004 12:11 PM
Poor performance Shyne Red Hat 1 10-17-2004 12:50 PM
XP > SAMBA Poor Performance (again) confused_bof Linux - Networking 23 03-07-2004 05:00 PM
Poor network performance RedH13 Linux - Networking 0 10-07-2003 11:11 PM
Tv Tuner has poor performance mad_ady Linux - Hardware 11 06-05-2003 03:38 AM


All times are GMT -5. The time now is 11:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration