Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sat Apr 04, 2020 6:53 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Linux virgin asks: Is it always this slow?
PostPosted: Thu May 08, 2008 10:22 am 
Offline

Joined: Tue Jan 15, 2008 12:49 pm
Posts: 17
Compared to VB6 running on a Windows 98SE box, the combination of RealBasic 2007/r5 and Ubuntu Hardy Heron (8.04) is slower than molasses on a cold day. Almost everything I do - opening the MenuBar Editor, calling up Help, running the RB application (e.g. RBQuickNote from Beginning RealBasic) - and the hard drive starts whirring... whirring... whirring, like it's digging a tunnel through to Australia!

Summat's not right, but me being a Linux virgin (well, penetrated a bit into the thickets of SuSE and Mandrake before, but still a newbie) I haven't a clue how to optimise the thing. Ah, as I write this (on my Windows box) the Ubuntu PC with the RB app running has ceased its drive activity at last! It must have been whirring nonstop for ten minutes without a break.

Any suggestions how to make it a bit snappy? File system? Too many hidden processes? Gawd knows!


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Thu May 08, 2008 10:46 am 
Offline

Joined: Tue Jan 15, 2008 12:49 pm
Posts: 17
I've just disabled Ubuntu Tracker in Preferences - Sessions. That has brought an improvement in performance. Still not brilliant, though.


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Thu May 08, 2008 11:43 am 
Offline

Joined: Wed Feb 15, 2006 1:30 pm
Posts: 3108
Location: U.S.A (often), Creswell, often Dallas, Atlanta, Spokane, Pago Pago.
Does top show any hogs?

Michael

_________________
REAL Studio 2010 R2 Mac and Win, OS X (10.6.2), Win XP SP 3 and Win 7


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Thu May 08, 2008 12:18 pm 
Offline

Joined: Tue Jan 15, 2008 12:49 pm
Posts: 17
mrebar wrote:
Does top show any hogs?


Well, I first had to find out what top means! (Google is my friend...) Now I've issued the command and got back the following:

load average: 0.26, 0.84, 0.56 (values constantly changing)
Tasks: 102 total, 2 running, 99 sleeping, 0 stopped, 1 zombie
Cpus(s): 2.7%us, 0.3 %sy, 0.0%ni, 97.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 190688k total, 183820k used, 6868k free, 1384k buffers
Swap: 554200k total, 81600k used, 472600k free, 43644k cached

followed by a long list of thingies that look similar to tasks/processes in Windows.


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Thu May 08, 2008 12:48 pm 
Offline

Joined: Wed Feb 15, 2006 1:30 pm
Posts: 3108
Location: U.S.A (often), Creswell, often Dallas, Atlanta, Spokane, Pago Pago.
Is your output from top while RB was running? If so, it shows that your CPU is 97.7% idle. Most of your memory is used, but your swap looks reasonable. Your one zombie probably shouldn't be a big deal. Over the past 5 minutes, a load average of .84 is reasonably high. More clues needed. :wink:

Michael

_________________
REAL Studio 2010 R2 Mac and Win, OS X (10.6.2), Win XP SP 3 and Win 7


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Thu May 08, 2008 1:55 pm 
Offline

Joined: Tue Jan 15, 2008 12:49 pm
Posts: 17
[quote="mrebar"]Is your output from top while RB was running?[/quote]

No, nothing was running. Just the desktop. I'll boot up again and load RB then repeat the Top command. Thanks!


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Thu May 08, 2008 2:09 pm 
Offline

Joined: Tue Jan 15, 2008 12:49 pm
Posts: 17
Okay, here are those revised values with RB running, and running an app RBQuickNote:

load average: 0.14, 0.56, 0.56
Tasks: 104 total, 3 running, 99 sleeping, 0 stopped, 2 zombie
Cpu(s): 0.7min to 3.3max%us, 0.0 to 0.3max%sy, 0.0%ni, 96.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 190688k total, 184876k used, 5824k free, 372k buffers
Swap: 554200k total, 202648k used, 351552k free, 23716k cached

The min/max values are what I observed over several minutes.

The CPU is a Sempron 2.8. Mobo is a 2006 ABit KV-85


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Thu May 08, 2008 5:20 pm 
Offline

Joined: Sun Oct 09, 2005 11:58 am
Posts: 273
Location: Northeastern, Nevada, USA
I think your issue is a lack of RAM. How much RAM do you have installed? It looks like 256 MB or so? If true, no wonder your hard drive is whirring so much -- it's spending a lot of time going to the swap file.

Your motherboard has two memory slots for 184 pin DDR400 RAM, and will accept 256MB, 512MB, and 1GB modules. It is expandable up to 2GB total. There's probably a single 256 MB module in one of the slots. Look at your manual and see if installing matched pairs matters. If it does, dump the 256MB and purchase two 512MB modules for a total of 1GB of RAM. Otherwise, I'd purchase a single 1GB module for the second slot, yielding you 1.25 GB of RAM. In the USA, this will cost < $50 USD. You'll see a night/day difference in performance.


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Thu May 08, 2008 5:39 pm 
Offline

Joined: Fri Jan 06, 2006 3:21 pm
Posts: 12388
Location: Portland, OR USA
The requirements page lists the minimum RAM for linux at 1GB, with 2GB recommended.


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Thu May 08, 2008 5:45 pm 
Offline

Joined: Sun Oct 09, 2005 11:58 am
Posts: 273
Location: Northeastern, Nevada, USA
timhare wrote:
The requirements page lists the minimum RAM for linux at 1GB, with 2GB recommended.

Thanks for pointing that out. :wink:

In that case, If I was LittleTyke -- I'd dump the 256MB module and put in two 1GB sticks of RAM. In the USA, this would still cost ~ $90-95 USD.


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Fri May 09, 2008 1:38 am 
Offline

Joined: Tue Jan 15, 2008 12:49 pm
Posts: 17
[quote="yeslekmc"]I think your issue is a lack of RAM. How much RAM do you have installed? It looks like 256 MB or so? If true, no wonder your hard drive is whirring so much -- it's spending a lot of time going to the swap file.

Your motherboard has two memory slots for 184 pin DDR400 RAM, and will accept 256MB, 512MB, and 1GB modules. It is expandable up to 2GB total. There's probably a single 256 MB module in one of the slots. Look at your manual and see if installing matched pairs matters. If it does, dump the 256MB and purchase two 512MB modules for a total of 1GB of RAM. Otherwise, I'd purchase a single 1GB module for the second slot, yielding you 1.25 GB of RAM. In the USA, this will cost < $50 USD. You'll see a night/day difference in performance.[/quote]

Oh, gawd! Not the RAM word!!! I hate buying RAM because it's always a minefield trying to find the right kind. I've just had a look at my favourite supplier in the UK - Misco - and they have three pages of the things! But okay, I'll have a closer look and get some more. Memory certainly seems to have got a lot cheaper over the past year, judging by the prices I'm looking at. You're right, I have 256MB in both PCs. Plenty for Windows and VB6... (snigger!)


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Fri May 09, 2008 3:30 am 
Offline

Joined: Thu Jan 26, 2006 8:38 am
Posts: 334
RB is a dog when it comes to resources, hence the 1GB Ram requirements.
i get most of my ram from savastore formerly watford electronics
http://www.saverstore.com/

_________________
Faith is a cop-out. It is intellectual bankruptcy. If the only way you can accept an assertion is by faith, then you are conceding that it can't be taken on its own merits.


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Fri May 09, 2008 4:18 am 
Offline

Joined: Tue Jan 15, 2008 12:49 pm
Posts: 17
[quote]i get most of my ram from savastore formerly watford electronics[/quote]

Didn't Savastore go bust not so long ago?


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Sat May 10, 2008 6:36 am 
Offline

Joined: Thu Jan 26, 2006 8:38 am
Posts: 334
nah they got taken over by cclonline to stop them going bust and there still around

_________________
Faith is a cop-out. It is intellectual bankruptcy. If the only way you can accept an assertion is by faith, then you are conceding that it can't be taken on its own merits.


Top
 Profile  
Reply with quote  
 Post subject: Re: Linux virgin asks: Is it always this slow?
PostPosted: Sun May 18, 2008 10:16 am 
Offline

Joined: Tue Jan 15, 2008 12:49 pm
Posts: 17
hairy_palms wrote:
RB is a dog when it comes to resources, hence the 1GB Ram requirements.


I finally got my 1gb RAM and, yes, the PC running Ubuntu/RB now flies like a bird! Many thanks for all the help on this topic.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group