Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#232346 - 02/09/2004 08:47 Cache glitch in 2.01?
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Just checking to see if anyone else has had similar trouble...

I have recently upgraded my players to 100GB drives and version 2.01 and hijack 413. Sadly I did all three at the same time, making troubleshooting more challenging...

I am now seeing what I can only describe as a caching glitch. The start of each track now has a noticeable audio hiccup at approximately 17 seconds into the track. It is a short glitch, I suspect as the drives are read for more data. The effect is more obvious / blatent if I am skipping between tracks or if I perform other disk writes (setting bookmarks, etc.).

Now, the extra memory has been in place and working fine for a while under 2.0 and hijack 398 (my previously loaded version). So I do not suspect the memory enhancement.

This happens both in car and on AC power (docking station), with autodetected power or hijack forced AC/DC settings. There are no console error messages via hyperterm when connected, so I do not think it is a disk error or IDE issue. In fact, there are no spinup or informational messages at all - was that removed from 2.01?

I am currently building another empeg into the same combination of software / hardware to verify this. When that is complete (likely this weekend), I will try to duplicate this on another player. Unfortunately, I will also not be able to try any downgrade testing of the player software or hijack until that build completes. I am in the middle of a four day rsync...

Hardware: empeg Mark2A, 48MB RAM, dual 100GB
Software: developer 2.01, hijack 413, no other software, no cache statement in config.ini
Bootlog: memory / caching statements...
Memory: 47452k/48M available (984k code, 20k reserved, 692k data, 4k init)
Using non-standard cache size 614 (bonus 32Mb, adjustment 0)

Oh, and if it is of interest, I am one of those people who can no longer reboot the player through hijack or when doing an upgrade or kernel flash through logoedit. Any of these automatic reboots will fail and require a hard reset. This is for all of my players, so I suspect that the memory modifications have changed something there. Different item I know, but as long as I am posting...
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232347 - 02/09/2004 09:49 Re: Cache glitch in 2.01? [Re: pgrzelak]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
Anything like this?

I never did figure out what the problem was with mine. It was my Mk2 backup. Once I got my Mk2a back from Mark, I swapped the drives in and the problem was gone. Maybe it was something on the Mk2 board (ide) or maybe it was the lower amount of RAM (more likely). My problem was likely do to not enough RAM with my database size to allow for proper cacheing, yours (like you suspect) may be due to a bug that doesn't get full use of your RAM.

Didn't Mark post that 2.01 had trouble detecting added RAM in some situations? I think he added a workaround in HiJack to address this.

Your reboot problem is odd...
_________________________
Brad B.

Top
#232348 - 02/09/2004 10:17 Re: Cache glitch in 2.01? [Re: SE_Sport_Driver]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Similar. Because I was messing with the drives and player versions, I am not certain of the cause. The symptoms are very similar though. I would have expected an error to appear if it was a drive related issue (bad track, block, error, timeout, etc.). Still, I will investigate further this weekend.

The reboot issue is a known problem. Something is not being cleared or is not initialized when a reboot is done. Mark noticed it as part of the hijack reboot, and noted that some players showed this behavior while others did not. But this is an added data point - it is not just hijack - any reboot will cause the same symptoms.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232349 - 02/09/2004 12:34 Re: Cache glitch in 2.01? [Re: pgrzelak]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14477
Loc: Canada
My upgraded player has "only" 32MB total RAM, and does not exhibit this problem (audio glitch) for me with either v2.01 or v3alpha8 and the latest Hijack.

So.. I wonder if it's a quirk that is amplified by having even more memory.. 48MB (or 64MB) ?

Could someone else with a 48MB+ player please try to reproduce this issue.

Thanks

PS: My 32MB unit also fails to reboot ("data abort vector..") nicely these days, though my 16MB unit is fine. Go figure.

Cheers

Top
#232350 - 02/09/2004 12:47 Re: Cache glitch in 2.01? [Re: pgrzelak]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14477
Loc: Canada
Oh, here's an idea to try, Paul:

Modify Hijack's auto-spindown feature for longer timeouts:
Code:

[hijack]
spindown_seconds=60



The theory here being that with your HUGE memory size, it's possible that the read-ahead is fetching 30 seconds or so of data off one drive, wherein the other one spins down, and then the spun-down drive is accessed and a pause occurs as it spins up again. The default timeout is 30 seconds; increasing it to 60 should eliminate any such worries.

Cheers

Top
#232351 - 02/09/2004 13:37 Re: Cache glitch in 2.01? [Re: mlord]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Hmm... No luck. The first song I tried seemed better, but after skipping around a bit I noticed the same glitching.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232352 - 02/09/2004 14:09 Re: Cache glitch in 2.01? [Re: pgrzelak]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
I haven't noticed any audio glitches with 64MB. I have noticed that the visuals get sluggy whilst the huge cache fills though.

I wonder whether the increased kernel size on big memory players has anything to do with this, and whether a Reservecache line would help?
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#232353 - 02/09/2004 14:14 Re: Cache glitch in 2.01? [Re: genixia]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
I am doing a bit of experimenting now. I am also turning on the disk status icon, so I can see what the drive status is. I normally have it turned off... More to follow.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232354 - 02/09/2004 14:44 Re: Cache glitch in 2.01? [Re: pgrzelak]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Interesting. It looks like the drives are always spun up (the hijack option set to 60 seconds), and that it did seem to help a bit. When I heard the audio glitch, it seemed a bit improved. There also was the W icon version, so the audio thread needed input. Now, even without glitching I would see that W appear, but only very briefly and without any glitch. During a glitch, the W stays on for a longer period of time (the length of the glitch). Still no drive errors or anything - I will try the reservecache option next.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232355 - 02/09/2004 15:11 Resolved!!! [Re: pgrzelak]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
And we have a winner!!! The addition of the ReserveCache option (set to the default of 180) completely eliminated both the quick Ws and the long Ws / audio glitches. Thanks!!! Now, why would the absense of this value cause problems...???

config.ini (before and after with [labels])
empeg:/empeg/bin# diff /drive0/install/config.ini /drive0/var/config.ini
[Startup]
> ReserveCache=180
[display]
< caching=0
> caching=1
[hijack]
> spindown_seconds=60

boot log fragments (after - see earlier in the thread for before):

Memory: 47452k/48M available (984k code, 20k reserved, 692k data, 4k init)
Using non-standard cache size 434 (bonus 32Mb, adjustment 180)

Edit: As a final test, I reverted all other changes out (drive status display and spindown timer). The player is still working perfectly! There is something about not having that ReserveCache line that is triggering glitching... Interesting!
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232356 - 02/09/2004 17:25 Re: Resolved!!! [Re: pgrzelak]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Yeah, this is because the kernel has to allocate extra memory to keep track of all its extra memory! The 'data size' reported by big_mem players differs greatly from that of stock due to this.

Basically the player application makes an assumption of the kernel's size when calculating the cache size. Mark and I have had a few discussions on how to deal with this such that ReserveCache wouldn't be needed purely to deal with an increased kernel size (thus allowing more/bigger hijack features), but unfortunately the player's calculation borks on 16MB players if hijack misreports the memory size to achieve this. (Mark tried this in a series of kernels around v400)

For the moment the issue is simmering on the back burner and ReserveCache is the recommended way of dealing with increased kernel size. If the player application gets modified to allow hijack to deal with this more gracefully, or if Mark or I think of another way to do it then that requirement could go away.

180 sounds like a lot though. My quick guesstimate suggests that ReserveCache=6 should be enough to cover the additional 324k of data space. Can you verify this? (If it isn't then try 8,10...)
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#232357 - 02/09/2004 18:27 Re: Resolved!!! [Re: pgrzelak]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
Quote:
The addition of the ReserveCache option (set to the default of 180) completely eliminated both the quick Ws and the long Ws / audio glitches. Thanks!!! Now, why would the absense of this value cause problems...?

Because the default is zero, not 180. As you can see by comparing your bootlogs, the ReserveCache value is subtracted from the player's cache chunk count, which starts out at 180 (or did when that FAQ was written -- it's a lot less now). My guess at what's happening here, is that your extra 32Mb cache -- more than we ever actually tested at Empeg Towers -- is causing a cache run to take so long that it starves out the audio threads. Cacheing runs at a lower priority than audio, but as Mark Lord discovered, once it starts doing big PIO disk reads in kernel-space, higher-priority threads don't get to pre-empt it anyway.

Peter

Top
#232358 - 02/09/2004 18:29 Re: Resolved!!! [Re: peter]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

No worries. This is a simple fix, and I will test adjusting the size of the ReserveCache option when I return to the office tomorrow morning. I am currently not able to get a console (or other) connection to the player at the moment due to insufficient connections...
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232359 - 03/09/2004 00:54 Re: Resolved!!! [Re: pgrzelak]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
I made the mistake of typo'ing 160 when I meant 16. My player just kept starting and crashing. Blah.

And I see that my wife never sent out the box with the empeg motherboard and memory to mlord, either.

Top
#232360 - 03/09/2004 09:29 Re: Resolved!!! [Re: Daria]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Greetings!

Testing. But I don't think you will like the results...

Yesterday, I did not notice any problems with the ReserveCache=180. Today, I tried lowering that value to more reasonable numbers. Suffice it to say, I am leaving it at 180. I started to notice increasing instances of the drive icon showing the "W" (audio thread waiting for data) at around 160, and started hearing glitches around 145.

When I saw the glitching (Ws every second or so, with a big audio glitch around 17 seconds) at 6, 8, 10, 12, I decided to do the binary search approach. This brought me to a breakdown point of around 145-150...

Please note, I am not your typical user. My database is unusually large, and my FID count is off the map. So sane computations may not help. Of course, all of this is complicated by VBR files - I could tell that some files were more "trouble" than others, based on the bitrate and the amount of data needed / rate of cache drain. Also, I noticed that the glitches seemed to be made worse (to the ear) by having auto volume adjust in place - perhaps the wait / glitch in the audio thread is being interpreted as valid audio by the algorithm.

For me, a value of 180 for ReserveCache (a level where I only see an occasional W for very complex tracks) is an acceptable tradeoff, but I will still try downgrading to 2.00 this weekend.

Testing methodology:

(previous test complete)
q
rw
rwm
vi /drive0/var/config.ini
(change setting)
rom
ro
sync
hard reboot player (remove from sled)
start player playing
skip ahead at least six tracks (to make sure nothing cached)
play for at least 30 seconds, noting any Ws or glitches
repeat.

Anything audible failed, more than 3 or 4 Ws (depending on the complexity / bitrate of the track) was considered marginal. At 160 and below, I started seeing more Ws but no audio glitches. 150 brought glitches to more complex songs, 145 glitches in more songs than not.

SW: Player 2.01 and hijack 413 only. Auto Volume Adjust (low)
Highest FID: 0x7E4D (32,333)
empeg:/empeg/bin# ls -al /drive0/var
total 4484
drwxrwxr-x 2 root root 4096 Aug 27 15:55 .
drwxr-xr-x 6 root root 4096 Aug 27 15:34 ..
-rw-r--r-- 1 root root 933 Sep 3 05:10 config.ini
-rw-rw-r-- 1 root root 4415935 Aug 27 15:54 database
-rw-rw-r-- 1 root root 137480 Aug 27 15:55 playlists
-rw-rw-r-- 1 root root 376 Aug 27 15:54 tags
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232361 - 03/09/2004 10:30 Re: Resolved!!! [Re: peter]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14477
Loc: Canada
As near as I can guess from observing the player software, each ReserveCache increment (in v3alpha8 at least) corresponds to 64kB of memory. So a ReserveCache=180 setting means that Paul is "throwing away" about 11MB of his new memory, bringing the 48MB player down to 37MB or so.

Seems a tad excessive. Linux memory management overhead is about 5% or so on most kernels, so I would expect a setting of ReserveCache=32 to be more than good enough.

If you could give that value a try, it might help us understand it better.

EDIT: I suppose we should also allow for Pauls BIG database here, another 5MB or so, giving a total of ReserveCache=112 for his player.

Also, with current Hijack versions, there really should be no opportunity for the disk I/O to starve the audio playback threads (important bits of this code are attached here for scrutiny), so I don't think it's the reading ahead that should be the culprit here.

EDIT: Ah, nevermind.. I see that Paul has already tried values between this and 180 without success

Cheers


Attachments
231508-reading.c (219 downloads)



Edited by mlord (03/09/2004 10:40)

Top
#232362 - 03/09/2004 10:45 Re: Resolved!!! [Re: peter]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14477
Loc: Canada
Peter, how large are the chunks of memory which correspond to increments of the ReserveCache parameter? My observations suggest to me that each increment is 64kB, but it would be quite useful here to know for sure.

Thanks


Edited by mlord (03/09/2004 10:45)

Top
#232363 - 03/09/2004 10:45 Re: Resolved!!! [Re: mlord]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
Quote:
I suppose we should also allow for Pauls BIG database here, another 5MB or so, giving a total of ReserveCache=112 for his player.

Memory for the database itself comes out of the cache, not the excess. Although, with a big database, other operations (playlist menus etc) are likely to be more memory-hungry than is typical, so some extra non-cache memory might come in handy.

Shortage of memory wouldn't cause glitching, though.

Peter

Top
#232364 - 03/09/2004 10:52 Re: Resolved!!! [Re: pgrzelak]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14477
Loc: Canada
Ooooh... I just got it to happen here on my 32MB player with v2.01. If it's repeatable now, I oughta be able to fix it..

-ml

Top
#232365 - 03/09/2004 10:55 Re: Resolved!!! [Re: peter]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
If this is of any help, one observation is that the glitching seems to occur (first and worst instance) at about 17 seconds. In cases where I see this with the drive status displayed, I can see the audio thread waiting (W icon) well before the 17 second mark, in very short bursts. It is only at that 17 second point (plus or minus 1 second) that there is a big audio thread starve (W icon that stays on for more than a few frames - 1/75ths of a second). This resolves, but there is a blatent audio glitch and it seems to knock the auto voladjust off (perceived sound level changes and fluctuations) for a second or so. Then it smooths out.

I will get repeated instances later in the song, but usually not as bad as that first hit.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232366 - 03/09/2004 10:56 Re: Resolved!!! [Re: mlord]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Cool! Repeatable is good!!!
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232367 - 03/09/2004 11:27 Re: Resolved!!! [Re: pgrzelak]
mlord
carpal tunnel

Registered: 29/08/2000
Posts: 14477
Loc: Canada
Okay, ReserveCache fixes all but the very first glitch for me, even if I completely comment-out the Hijack CPU-yielding hack.

Based on various observations (a bit too complex to explain here), what is happening on my player is a very obvious "low memory" condition, which is causing various threads to block on memory allocation when they normally would never have to block.

This seems to only happen when the disk read-ahead in the player is busy, which makes sense since that activity will tie up a lot of pages in the kernel for holding the disk reads before they get copied to userspace, making even the most trivial of memory allocations result in a process blocking.

For example, opening an FTP connection to my in-kernel kftpd was NOT POSSIBLE during the disk I/O, due to lack of memory for the new thread's stack allocation (it needs 12kB total: 8 for stack, plus 4 for a parameter/buffer block). I saw other indicators of extreme low memory as well.

Pity we don't have O_DIRECT in this kernel version --> O_DIRECT forces disk reads directly into the userspace buffers, bypassing the page cache completely for apps which roll their own, like the player.

As a sidebar, I recently added the "--direct" flag to my hdparm utility, to permit benchmarking with/without direct userspace I/O, and it the difference with the RAID controller I'm working on is most impressive: a 4-drive RAID10 jumps from 70MB/sec to 130MB/sec, and a 4-drive RAID0 whooshes along at 206MB/sec. On a slow CPU using 64-bit/66-Mhz PCI, that is.

Now, for the first glitch, which still can happen. I don't hear it, but I see the W icon flash, which means the software knows it had a glitch. The Hijack CPU-yield on disk I/O is imperfect --> it misses the first FID that is read, so it is possible for a large initial track that the readahead of that same track may still glitch, on both v2.03 and v3alpha. I'm unlikely to fix that one.

Cheers

Top
#232368 - 03/09/2004 11:46 Re: Resolved!!! [Re: mlord]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Okay. I follow. Basically the cache is so large that the call to fill it starves out memory requests from pretty much everything else. Especially with an extra large cache, because the kernel memory used for the initial read / processing takes lots of memory away from other kernel processes. Shrinking the cache makes the problem less of an issue because there is less to fill and the transfer happens quickly enough and are small enough that the other processes are less likely to get choked out by it.

Nice RAID transfer rate jump, by the way!!! Significantly greater throughput!!! COOL!

Edit: And since it is totally dependent on memory size and kernel, the upgrade to 100GB drives is not the issue, other than the side effect of a larger database. And it was not an issue previously with the 80s because the database size was smaller and I was running under 2.00 / older hijack. The only other test I would be curious about is if this would also happen under 2.00 - to see if the memory enhancements made there changed matters or if it is an inherent problem.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232369 - 21/07/2005 00:28 Re: Resolved!!! [Re: pgrzelak]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
Paul, is there any update on this?

I'm running 3a10 with a 64mb memory card and I'm getting more memory related errors than I had before with 2.00final and no extra RAM. I'm needing to play with ReserveCache settings that I never needed before. I'm wondering what benefit I'm getting from the memory card upgrade.

For instance, switching tracks on the player does not display a new "Vcb: 0x428fa000" via serial. If the player is running, I can't connect via emplode. When the player boots up, it usually boots to audio but with no display (LED is still pulsing, blank screen). Usually turning the player ap off makes things like ftp work (rather than time out). After a boot, the menus crawl very very slowly. I never had any of these issues before. Is this stuff that I'll get with 2.01 or are these alpha issues?

I'm now at a ReserveCache of 180, up from 50, up from no setting at all. These changes only helped me from getting:

VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd..
no room for private writable mapping
error: -12

It just doesn't seem like the alphas or 2.01 work too well with extra RAM? Or do I just need to tweak this stuff more? I was going to switch to 2.01 and give up Crossfading, but after reading your post, maybe I shouldn't expect too much of a difference.
_________________________
Brad B.

Top
#232370 - 21/07/2005 08:25 Re: Resolved!!! [Re: SE_Sport_Driver]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
Quote:
switching tracks on the player does not display a new "Vcb: 0x428fa000" via serial.


It shouldn't display this when switching tracks anyway -- it's (IIRC) tracing code from when the visuals library is loaded, and should only be displayed at first boot-up.
_________________________
-- roger

Top
#232371 - 21/07/2005 08:38 Re: Resolved!!! [Re: SE_Sport_Driver]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Well, if I remember correctly the 3.0 alphas have a larger memory footprint than the 2.0 variations. I have not tried the alphas yet, so I cannot give you a comparison point.

I am running 2.01, I have my ReserveCache set to 180, and that seems to work for me. I am able to console into the player and ftp without a problem. I have never seen the slow menu problem, personally, so I suspect it is alpha related.

The easiest test is to drop to 2.0, delete and rebuild your databases. Because this version is not aware of any extra memory, you eliminate that from the equation. You would still see some benefit at the kernel level, because hijack will still access it, but the player application will not try to grab from the extra RAM for its cache. It is a good check to see if the behavior changes.

If this works, then move up to 2.01 and compare the differences. If you are running more background applications than I am (I just run hijack normally) you may need to set aside more memory for those.

By the way, I am sorry to read in the other thread that your empeg is smoking again.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232372 - 31/07/2005 23:28 Dumb 2.01 question... [Re: pgrzelak]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
My player should be back to me this week.. I currently have my drives in a backup player and am thinking of installing 2.01 on the drives so that when the player arrives, I can just swap the drives. Is there a problem running 2.01 on a player with only 16mb? Is the cache sequence too aggressive for 16mb?

I'd like to get it running stable on 2.01 before I switch to 3.0. Also, I doubt my player will handle 3.0 with 16mb and the size of my database. My drives probably won't see any 3.0 variant until I know my hardware issues are behind me and the backup is on the shelf.
_________________________
Brad B.

Top
#232373 - 18/09/2005 16:15 Re: Resolved!!! [Re: pgrzelak]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
Paul, I'm running 2.01 now with the memory card. With no ReserveCache setting, I was getting a lot of low memory errors over the serial output. I then tried 180 and the errors went away but I was still getting an interupted audio signal at the beginning of some tracks. Lots of fast W's too. Then I switched to a setting of 200 and the audio is better (bur still stutters sometimes). The W's are still coming (quick ones) but not as often.

What's odd however is that emplode can not find the player at all unless I turn the player off first... have you had this happen? If I keep bumping the ReserveCache up, might it fix it? 200 seems high already...

EDIT: I can't access the player via html interface, emplode (even to simply add songs to the queue, or ftp) if the player AP is running... I'm upto 220 ReserveCache now. This is going to make DJing impossible if I can't add songs to the playing order remotely.


Edited by SE_Sport_Driver (18/09/2005 16:45)
_________________________
Brad B.

Top
#232374 - 18/09/2005 17:02 Re: Resolved!!! [Re: SE_Sport_Driver]
pgrzelak
carpal tunnel

Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
Hmmm... How much extra memory did you add? I am at 48MB. Unfortunately, I suspect you may have to downgrade to 2.0 if the reservecache option becomes too high or impractical for you. Worst case, with 2.0, the memory is only availble to the kernel because the player application is not aware of it.

I have not had trouble with emplode not detecting the player, but if there is enough memory starvation, I can see where it would happen. Try bumping a little higher and see if that helps you. If it doesn't downgrade to 2.0 and use the RAM for additional background kernel apps.
_________________________
Paul Grzelak
200GB with 48MB RAM, Illuminated Buttons and Digital Outputs

Top
#232375 - 18/09/2005 20:14 Re: Resolved!!! [Re: pgrzelak]
SE_Sport_Driver
carpal tunnel

Registered: 05/01/2001
Posts: 4903
Loc: Detroit, MI USA
I just don't get it... I have more RAM than you (64) and you have more FIDS but I get quick W's and can't connect to the player if the ap is running while you don't have these issues...

I just did a ReserveCache of 280 (!) and emplode found the player between songs... But now it's hanging on getting the database...

Upto 320 and still getting the same results.... empegface has a framerate of about 1 frame every 6 seconds IF it sees anything at all..

I thought these 64mb cards were supposed to be the cure for all this crap... useless at this point and not worth the hundreds of dollars I spent to order one and get it installed. I no longer get memory errors on my serial output, but now I have new problems that effect my ability to use the unit. If I never had a serial connection, I never would have noticed the errors before. No stuttering audio and no W's.

LOL, now this is almost getting funny... my player is doing this after about 10 minutes of play:
Quote:
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32
ksock_rw(send): error: -32


It is repeating over and over.


Edited by SE_Sport_Driver (18/09/2005 20:35)
_________________________
Brad B.

Top
Page 1 of 2 1 2 >