gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > Make.exe is slow on laptop

#81795 - knight0fdragon - Tue May 02, 2006 4:50 am

for some reason when make goes into effect on my laptop, it takes almost 10 minutes to compile all my source code, where as my PC takes a second. Anyone know why this is?

Laptop is averatec 3700 512 MB ram 1.8ghz Sempron 3000
_________________
http://www.myspace.com/knight0fdragonds

MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206

#81798 - arog - Tue May 02, 2006 5:11 am

Oh man, I had the same problem forever, and now I forget how I finally figured it out. I'll have to fire up my laptop again and see what I did. I think I ended up disabling a service (or something else that seemed irrelevant).

1) Are you running Windows XP?

2) If you compile something and then quickly re-compile it, does it go at normal speed?

- Aaron Rogers
http://www.aaronrogers.com/nintendods/
http://www.drunkencoders.com/

#81800 - knight0fdragon - Tue May 02, 2006 5:18 am

yes i am running XP

and its a little faster because its not making all the .o files, but still not up to satisfactory of mobile development
_________________
http://www.myspace.com/knight0fdragonds

MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206

#81817 - melw - Tue May 02, 2006 8:36 am

Not sure if this is helpful at all, but I've sometimes had the same problem after the laptop's been either hibernated or without a power supply before. This with Windows XP on a pretty fast configuration (1.7GHz mobile Pentium / 1Gb etc.) so it's not the hardware that's slowing things down. Often just rebooting solves the problem.

#81856 - tepples - Tue May 02, 2006 2:50 pm

When you Ctrl+Shift+Esc to bring up the task manager and then open the Performance pane, does it look out of the ordinary? Is there anything out of the ordinary in the Processes pane?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#81859 - knight0fdragon - Tue May 02, 2006 3:00 pm

no I thought of all of that stuff, I even tried running other DOS programs, thinking maybe its the emulation, its just make.exe for some odd reason

i am now getting /bin/sh.exe: -c: line 1: syntax error near unexpected token `(3' on my stuff when i tried updateing

.... this is due to the folder name New Folder (3), still have the slowdown though....i dont think its make, but the arm-elf-g++
_________________
http://www.myspace.com/knight0fdragonds

MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206

#82177 - thehive - Thu May 04, 2006 1:06 pm

I had the same thing myself.
I turned out to be an application in the system tray that was causing my problems.
There's not much chance of it being the same application since it's a bit 'specialist' but try ending systemtray apps and see what happens.
Just a suggestion.

#82192 - wintermute - Thu May 04, 2006 2:42 pm

knight0fdragon wrote:
no I thought of all of that stuff, I even tried running other DOS programs, thinking maybe its the emulation, its just make.exe for some odd reason

i am now getting /bin/sh.exe: -c: line 1: syntax error near unexpected token `(3' on my stuff when i tried updateing

.... this is due to the folder name New Folder (3), still have the slowdown though....i dont think its make, but the arm-elf-g++


Spaces in paths are bad, mkay.

There are several things which could be causing slowdown

  • Available memory is low - this can be exacerbated by large arrays in your source code.
  • The power management on your laptop reducing the processor speed due to overheating.
  • A virus scanner which checks all executables before allowing them to run.

_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#82195 - knight0fdragon - Thu May 04, 2006 2:58 pm

for the spaces, if you place quotes before and after the path it works just fine, XP loves folders with spaces

Checked the memory at the time, only 256MB was used out of the 512

doubt it was the heat because it was slow on a fresh start up, plus other applications ran fine, CPU tests were still showing 1.8ghz

virus scanner, maybe, but i use the same one on my PC and that never gave me problems

After I did a defrag and fiddled with the system tray it magically picked up speed, I think its my mouse touch pad that was affecting the program to tell you the truth
_________________
http://www.myspace.com/knight0fdragonds

MK DS FC: Dragon 330772 075464
AC WW FC: Anthony SamsClub 1933-3433-9458
MPFH: Dragon 0215 4231 1206

#82201 - wintermute - Thu May 04, 2006 3:35 pm

knight0fdragon wrote:
for the spaces, if you place quotes before and after the path it works just fine, XP loves folders with spaces


Spaces are a standard delimiter between arguments for command line applications. Quoting paths only works up to a point when using tools which autogenerate dependendencies and manipulate the paths in various ways.

Generally I've found that allowing spaces in paths creates more problems than it's worth. I don't understand why people feel the need.
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#82210 - tepples - Thu May 04, 2006 4:18 pm

wintermute wrote:
Generally I've found that allowing spaces in paths creates more problems than it's worth. I don't understand why people feel the need.

Because a lot of users are not administrators and are permitted to write only to, say, "C:\Documents and Settings\Pinocchio Poppins\" and nowhere else on the disc.

...knock on wood...
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.