This message was edited by seancampbell at 2005-6-24 11:44:21
This message was edited by seancampbell at 2005-6-24 11:37:59
: You're smart for researching the project if it's going to take you
: that long to complete it and *maybe* still not even yield desirable
: One thing you can do is try to test it on a smaller scale to see if
: it may work. The only problem with this is that smaller scale
: typically means smaller amounts of data, and in turn the results can
: be skewed from it.
: I just have a real hard time believing that writing to a file is
: going to speed it up immensely. Does your boss have any reasons for
: this belief?
: If you really are writing data every 20 milliseconds for a period of
: 24 hours (that's a lot disk i/o) then I would maybe look at the
: system specs. Is a sata harddrive going to speed it up at all? What
: about a 10000 rpm harddrive? I'm just pulling these ideas out of my
: head as they come, so if they sound silly that's why. :)
: Also, maybe this is just my lack of understanding, but if you are
: writing data every 20 ms and also trying to update the screen every
: second at the same time it really doesn't suprise me that you're
: noticing a bit of latency. If the cpu is that busy then maybe you
: could look at not writing data for a second or two while you try to
: read from the database to update the screen. Do you follow me?
Yeah. I see what you are saying. Well, the problem with refreshing the screen is even at the begining of the run it is running slow. I am certain that these hardware tweaks may change it, but the program is not part of a system. Its actually something you install onto a computer with a PCI card installed.
Thank you for your help, I think that your ideas have steered me in the correct path I need for more research on the subject. I have a few months before I finish documenting the current build, so I have time to look into this.
After I wrote this, I talked to my boss and he told me that we build the box that we send with the hardware. I am going to write a program that does a stress test on using DBs as apposed to Flat files. I figure this is going to take a few days
which meens more work for me.
So as far as file space goes, we don't have a problem there. Also, remember that information stored in a text file is smaller than that of a DB and text files compress quite nicely.
Thanks plenty for your help,