cattelan wrote:
I really like this application and nice not having to fire up windows
just to donwload my gps data.
There are several problems with the button draws (often times they are grayed out) and you have to flip screens to get them to activate again.
Also sometimes the screen flipping causes random triangles to be draw
across the whole screen.
But the biggest problem seem to be the speed.
It sometimes takes well over an hour to write the gpx data of say
around 10k points. (sames goes for kml datat as well)
Also the MacTravelRecored app is taking well over 80% of a cpu while
writing out this data.
Downloading from the gps unit (qstarz BT-Q1000) is not super fast either, slower than using cmd line gpsbable, but not horribly slower.
Doing some digging with dtruss it looks like some of the problem is due to constant reading and seeking of the sqlite db.
57783/0x93e9b58: open_nocancel("/Volumes/Home/cattelan/Desktop/TravelRecorder/LogData/Mac TravelRecorder.db\0", 0x20202, 0x1A4) = 9 0
.
.
.
57783/0x93e9b58: lseek(0x9, 0x18, 0x0) = 24 0
57783/0x93e9b58: read_nocancel(0x9, "\0", 0x10) = 16 0
57783/0x93e9b58: lseek(0x9, 0x400, 0x0) = 1024 0
57783/0x93e9b58: read_nocancel(0x9, "\005\0", 0x400) = 1024 0
57783/0x93e9b58: lseek(0x9, 0xB77400, 0x0) = 12022784 0
57783/0x93e9b58: read_nocancel(0x9, "\005\0", 0x400) = 1024 0
57783/0x93e9b58: lseek(0x9, 0x20C00, 0x0) = 134144 0
57783/0x93e9b58: read_nocancel(0x9, "\005\0", 0x400) = 1024 0
57783/0x93e9b58: lseek(0x9, 0x800, 0x0) = 2048 0
57783/0x93e9b58: read_nocancel(0x9, "\r\0", 0x400) = 1024 0
57783/0x93e9b58: lseek(0x9, 0xC00, 0x0) = 3072 0
57783/0x93e9b58: read_nocancel(0x9, "\r\0", 0x400) = 1024 0
57783/0x93e9b58: lseek(0x9, 0x1000, 0x0) = 4096 0
57783/0x93e9b58: read_nocancel(0x9, "\r\0", 0x400) = 1024 0
57783/0x93e9b58: lseek(0x9, 0x1400, 0x0) = 5120 0
57783/0x93e9b58: read_nocancel(0x9, "\r\0", 0x400) = 1024 0
57783/0x93e9b58: lseek(0x9, 0x1800, 0x0) = 6144 0
57783/0x93e9b58: read_nocancel(0x9, "\r\0", 0x400) = 1024 0
57783/0x93e9b58: lseek(0x9, 0x1C00, 0x0) = 7168 0
57783/0x93e9b58: read_nocancel(0x9, "\r\0", 0x400) = 1024 0
57783/0x93e9b58: lseek(0x9, 0x2000, 0x0) = 8192 0
57783/0x93e9b58: read_nocancel(0x9, "\r\0", 0x400) = 1024 0
57783/0x93e9b58: lseek(0x9, 0x2400, 0x0) = 9216 0
57783/0x93e9b58: read_nocancel(0x9, "\r\0", 0x400) = 1024 0
57783/0x93e9b58: lseek(0x9, 0x2800, 0x0) = 10240 0
57783/0x93e9b58: read_nocancel(0x9, "\r\0", 0x400) = 1024 0
.
.
.
Russell-Cattelans-MacBook[7:15pm]-=>grep -i "read_nocancel(0x9" /tmp/tr_trae |wc -l
21907509