INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: multi-threading problem ?  (Read 2071 times)

michel

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 619
multi-threading problem ?
« on: November 18, 2002, 08:49:24 am »

The sound is badly affected when tagging occurs (on the same computer).

But the sound is not affected on a client when tagging occurs on the server (media server).




Media Jukebox PLUS 9.0.78
Install Path: C:\Program Files\J River\Media Jukebox\

CPU: Intel Pentium II 391 MHz MMX
Memory: Total - 196 MB, Free - 27 MB
OS: Microsoft Windows 2000  Workstation 5.0 Service Pack 3 (Build 2195)

Internet Explorer: 6.0.2800.1106
ComCtl32.dll: 5.50.4916.400
Shlwapi.dll: 6.00.2800.1106
Shell32.dll: 5.00.3502.5436
wnaspi32.dll: Internal ASPI Layer

Ripping /   Drive R:   Copy mode:ModeBurstBigBuffer   CD Type:Auto   Read speed:Max
 Digital playback: Yes /  Use YADB: Yes /  Get cover art: No /  Calc replay gain: No /  Copy volume: 32767
 Eject after ripping: Yes /  Play sound after ripping: No  

Burning /  Drive R: PLEXTOR CD-ROM PX-32TS   Addr: 2:3:0  Speed:0  MaxSpeed:0  Lib:2  GHS:1  Use MJ Engine:No
 Test mode: No /  Eject after writing: Yes /  Direct decoding: Yes /  Two second gap: No /  Write CD-Text: No
 Use playback settings: No /  Normalization: None

Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20054
Re: multi-threading problem ?
« Reply #1 on: November 18, 2002, 09:31:37 am »

That maybe because your computer is rather old\Slow

this gets worse the slower the CPU is it may seem choppy for you.

there is a setting under options and i think playback for more skip resistant it may help it may not.

Last night i updated 12,000 tags on a 1.8 ghz computer and everything was ok even when playing a song.
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1245
Re: multi-threading problem ?
« Reply #2 on: November 18, 2002, 09:45:44 am »

Works fine on my 1.8ghz P4 XEON system as well.  

I'll try it on my 400mhz PII tonight and see if I get the same thing.

Are you running a single or dual or processor system?
Logged
Fedora 38 x86_64 Xfce

michel

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 619
Re: multi-threading problem ?
« Reply #3 on: November 18, 2002, 10:27:46 am »

Quote
That maybe because your computer is rather old\Slow


I think rather there is a problem but you cannot reproduce it because you have a fast computer. Could you explain me why I can listen music on MJ and tag files with another tag editor without problem ?

Playing files under MJ takes 25% CPU in average (according to the Task Manager). So I think 75% would be sufficient to tag in the background if the multi-threading was working right.

I would point out that it is not an access disk problem since the sound is not affected on a client when tagging occurs on the server (media server).
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20054
Re: multi-threading problem ?
« Reply #4 on: November 18, 2002, 10:46:28 am »

>> you explain me why I can listen music on MJ and tag
>> files with another tag editor without problem ?
what tag editor?

Also did you attempt to adjust the skip resistant setting in MJ?
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

michel

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 619
Re: multi-threading problem ?
« Reply #5 on: November 18, 2002, 10:49:03 am »

Tag&Rename (I don't use it normally, it was just to check if the problem exists only with MJ or not).
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20054
Re: multi-threading problem ?
« Reply #6 on: November 18, 2002, 10:58:54 am »

Also did you attempt to adjust the skip resistant setting in MJ?
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Kurt Young

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 633
  • Tastes like crab, talks like people.
Re: multi-threading problem ?
« Reply #7 on: November 18, 2002, 10:59:49 am »

I experience choppy playback from time to time.  It seems to happen most when I commit a change and write to the hard drive... playback chops away.

I have over 80% cpu time available when this happens, and my computer isn't obsolete yet (dual p3 933x2, 1gb ram).

It just seems like doing some things makes MJ chop out, when I normally wouldn't expect it to... copying a file from drive to drive, opening up an ie window, etc.
Logged
 mjextman.exe /ipodsync

michel

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 619
Re: multi-threading problem ?
« Reply #8 on: November 18, 2002, 11:01:28 am »

Quote
Also did you attempt to adjust the skip resistant setting in MJ?


I just tried to adjust max "skip resistant". It is almost perfect now (it seems subsist some artefacts but I am not sure).

It is a good workaround, no doubt (what about fast crossfading now ?) but I continue to think MJ tagging thread is locking CPU during too long sequences of time.
Logged

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20054
Re: multi-threading problem ?
« Reply #9 on: November 18, 2002, 11:09:21 am »

what might help is A Complete Defrag Of The Hard Drive.

Other than that can't think of anything other than do not update Tags When Playing Files. Or Only use ID3v1 Tags and this problem will not happen.

Also some tags if not written by MJ may take longer once written By MJ 9 it may work better.

Well Got To Go To Taco Bell And Pick Up Dinner (They Have Something New)
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1245
Re: multi-threading problem ?
« Reply #10 on: November 18, 2002, 11:10:05 am »

One thing to try...

Change the output mode from wave out to direct sound or vice versa.  If wave out, try changing the device from wave mapper to the sound card or vice versa.  See how far back to "more responsive" you can move the slider before it skips again.

All of my sound problems stopped when I moved my SB Audigy to a PCI slot that didn't share a physical interrupt then completely uninstalled and reinstalled my sound drivers.   Yeah, I know.  It SHOULD work in any slot but it doesn't.


Logged
Fedora 38 x86_64 Xfce

michel

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 619
Re: multi-threading problem ?
« Reply #11 on: November 18, 2002, 11:28:33 am »

Quote
Change the output mode from wave out to direct sound


Bingo ! Direct Sound mode is much more better since I can adjust "buffering" to 0,2 sec without problem !

Another symptom that MJ tagging is too "CPU locking":
time counter is no more updated during tagging (on my slow computer).
Logged

RemyJ

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1245
Re: multi-threading problem ?
« Reply #12 on: November 18, 2002, 12:06:47 pm »

Quote


Bingo ! Direct Sound mode is much more better since I can adjust "buffering" to 0,2 sec without problem !

Another symptom that MJ tagging is too "CPU locking":
time counter is no more updated during tagging (on my slow computer).


Great!   I'll still nose around a little on my 400mhz system tonight.
Logged
Fedora 38 x86_64 Xfce

NoCodeUK

  • Citizen of the Universe
  • *****
  • Posts: 1820
Re: multi-threading problem ?
« Reply #13 on: November 19, 2002, 01:31:09 am »

I was having a similar problem and Jim H said it was something to do with the creative drivers so I checked this out.  As I had the latest version from cretive I did a bit of research and have installed a third party driver called the kx project.  This is more advanced than the creative driver and includes a few extras like ASIO support on a Live with 2.5ms latency!!!  Seems good so far.  Worth checking out if you are having problems with the creative drivers.  URL is http://www.kxproject.com
Logged
"It's called No Code because it's full of code. It's misinformation." - Eddie Vedder

Lynn

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 52
  • I love YaBB 1G - SP1!
Re: multi-threading problem ?
« Reply #14 on: November 19, 2002, 06:17:26 pm »

I have also experienced the stuttering problem, and I am not using a creative card.  I use an RME digital card using ASIO to drive a spdif interface to an external dac.

I upgraded my PC last week to see if more horsepower would help, but to no avail.  I am now running a P4 2.4 w 1gb 333DDR memory, and RAID 0 7200 RPM drives.  The ONLY application that runs on this system is MJ9 since it is a dedicated music jukebox.

The hiccup occurs most often for me when I am navigating tree of files to select something to add to the play list.  It seems as though the disk i/o to open a branch of the tree, or scroll the list causes something to spike.  

The higher the bitrate being played, the more likely this happens.  CPU when it happens remains at 0-2% !!  I know it is counter-intuitive, but lowering the buffering in MJ seems minimize the problem.

Regards.
Lynn
Logged

NoCodeUK

  • Citizen of the Universe
  • *****
  • Posts: 1820
Re: multi-threading problem ?
« Reply #15 on: November 20, 2002, 12:03:23 am »

Ahha...finally somebody having this problem who is not using a creative board.  Maybe it is not the creative drivers after all...I thought my PC had plenty of kick too but it ends up stuttering terribly at times.  Not had enough time to properly test the kx drivers yet but lets hope they eradicate this problem once and for all...

Adam
Logged
"It's called No Code because it's full of code. It's misinformation." - Eddie Vedder

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20054
Re: multi-threading problem ?
« Reply #16 on: November 20, 2002, 08:17:50 am »

if any of you are using drives that are networked this may be a problem if the network cards can't keep up with data flow.

just an idea
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Lynn

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 52
  • I love YaBB 1G - SP1!
Re: multi-threading problem ?
« Reply #17 on: November 20, 2002, 04:28:31 pm »

Hi,

In my case the drives on the dedicated music jukebox PC are using an ATA133  RAID controller. A network is not involved.

I do have over 24,000 files spread over several drives. Many of these files are APE files.  Perhaps it is a directory management issue due the volume of files.

Regards,
Lynn
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71682
  • Where did I put my teeth?
Re: multi-threading problem ?
« Reply #18 on: November 20, 2002, 05:03:43 pm »

Nocodeuk and Lynn,
Can you both make a complete list of what else is running in the background?  Anything you have in common?

Jim
Logged

TimB

  • Citizen of the Universe
  • *****
  • Posts: 1062
Re: multi-threading problem ?
« Reply #19 on: November 21, 2002, 01:01:27 am »

Quote
As I had the latest version from cretive I did a bit of research and have installed a third party driver called the kx project.  This is more advanced than the creative driver and includes a few extras like ASIO support on a Live with 2.5ms latency!!!  Seems good so far.  Worth checking out if you are having problems with the creative drivers.  URL is http://www.kxproject.com

I wasn't having problems but I like to mess with stuff so I went to check these out for my SB Live/Value.

The bad news was that I got 99% of the way there but the final 1% was actually getting sound from my speakers. :)  I could see the sound going into Kx Mixer but couldn't hear anything coming out.  I tried MJ9 and CoolEdit Pro playback.

The good news was that after I uninstalled Kx and reinstalled SB drivers I finally got my volume control slider  in MJ9.  I had tried uninstalling and installing SB drivers before to make this happen but without success.

-=Tim=-
Logged
Boy do I LOVE Media Center!!!

NoCodeUK

  • Citizen of the Universe
  • *****
  • Posts: 1820
Re: multi-threading problem ?
« Reply #20 on: November 21, 2002, 01:33:24 am »

Shame they worked okay for me.  Jim, as soon as I am back home I will check for you.  I haven't actually used my computer for a few days as I am in a show at the moment...

Adam
Logged
"It's called No Code because it's full of code. It's misinformation." - Eddie Vedder

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20054
Re: multi-threading problem ?
« Reply #21 on: November 21, 2002, 08:14:03 am »

>> I haven't actually used my
>> computer for a few days
What!!!

Thats Too Long, Maybe 12 Hours Max Is Ok (Thats Counting Sleep Time)
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

Lynn

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 52
  • I love YaBB 1G - SP1!
Re: multi-threading problem ?
« Reply #22 on: November 21, 2002, 05:12:07 pm »

Hi Jim,

Thanks for your help.  Here is the list of background tasks:

Explorer.exe
spoolsv.exe
svchost.exe
media jukebox.exe
lssass.exe
services.exe
winlogon.exe
csrss.exe
wuauclt.exe
smss.exe
taskmgr.exe
smagent.exe
rpcsvr.exe
msmsgs.exe
smtray.exe
digi96.exe
atiptaxx.exe
system
system idle processes
Logged

NoCodeUK

  • Citizen of the Universe
  • *****
  • Posts: 1820
Re: multi-threading problem ?
« Reply #23 on: November 21, 2002, 11:07:07 pm »

Quote
What!!!

Thats Too Long, Maybe 12 Hours Max Is Ok (Thats Counting Sleep Time)


Tell me about it.  I am having major withdrawal symptoms.  I am having to do all my surfing at work but is only a matter of time before the dung hits the fan....

Adam
Logged
"It's called No Code because it's full of code. It's misinformation." - Eddie Vedder
Pages: [1]   Go Up