IPB

Welcome Guest ( Log In | Register )

> foobar2000 Tech Support Forum Rules

Please read foobar2000 Tech Support Forum Rules before posting and comply with all the points.
Failure to provide all the information pointed out in the above document in your post is considered wasting other people's time and in extreme cases will lead to your topic getting locked without a reply.


See also: Hydrogenaudio Terms of Service.

foobar2000 problem: high CPU usage, nonresponsiveness and crashes with
Anakunda
post Oct 19 2012, 07:28
Post #1





Group: Members
Posts: 458
Joined: 24-November 08
Member No.: 63072



Well I finally realized that I'd wish to fix the long term issue I have with foobar. It works most time normally but the problem increases proportionally with the playlist content size. Loading the playlist from my whole library (80000+ items), I see foobar increases CPU usage to one full core and moreover stays unresponsive for a long time. Eventually it will crash if I try to interact with UI.

Now, firstly the installed components:
CODE
Core (2012-09-14 11:14:54 UTC)
foobar2000 core 1.1.15
foo_abx.dll (2009-06-07 12:25:26 UTC)
ABX Comparator 1.3.4
foo_ac3.dll (2012-08-29 15:57:04 UTC)
AC3 decoder 0.9.7
foo_adpcm.dll (2011-12-15 15:27:38 UTC)
kode's ADPCM decoders 1.10
foo_albumlist.dll (2012-09-14 11:13:32 UTC)
Album List 4.5
foo_audioscrobbler.dll (2010-06-04 07:27:04 UTC)
Audioscrobbler 1.4.7
foo_benchmark.dll (2008-12-31 17:23:04 UTC)
Decoding Speed Test 1.1
foo_bitcompare.dll (2008-12-05 13:08:02 UTC)
Binary Comparator 1.2
foo_burninate.dll (2011-02-24 08:40:34 UTC)
Audio CD Writer 3.0.3
foo_cdda.dll (2012-09-14 11:13:08 UTC)
CD Audio Decoder 3.0
foo_chacon.dll (2010-04-07 00:03:40 UTC)
Chacon 3
foo_comserver2.dll (2006-07-31 19:13:20 UTC)
COM Automation server 0.7 alpha 6
foo_converter.dll (2012-09-14 11:12:44 UTC)
Converter 1.5
foo_convolve.dll (2006-08-04 19:57:26 UTC)
Convolver 0.3
foo_discogs.dll (2011-08-12 00:42:42 UTC)
Discogs Tagger 1.30
foo_dsp_dolbyhp.dll (2010-01-22 11:40:28 UTC)
Dolby Headphone Wrapper 1.4.1
foo_dsp_effect.dll (2012-06-25 18:41:26 UTC)
Effect DSP 0.11
foo_dsp_hdcd.dll (2010-04-09 00:47:38 UTC)
HDCD decoder 1.3
foo_dsp_prvb.dll (2010-06-29 18:04:52 UTC)
Programmable reverb DSP 1.2
foo_dsp_resampler.dll (2012-08-17 18:41:42 UTC)
SoX Resampler 0.8.0
foo_dsp_std.dll (2012-09-14 11:13:28 UTC)
Standard DSP Array 1.0
foo_dsp_xgeq.dll (2012-02-05 11:11:22 UTC)
Graphic Equalizer 0.3.7
foo_dsp_xover.dll (2010-04-07 18:04:58 UTC)
Crossover 0.42
foo_dumb.dll (2012-09-19 18:26:10 UTC)
DUMB module decoder 0.9.9.64
foo_dynamic_range.dll (2011-11-12 21:18:36 UTC)
Dynamic Range Meter 1.1.1
foo_facets.dll (2011-08-18 18:06:16 UTC)
Facets 1.0
foo_fileops.dll (2012-09-14 11:12:06 UTC)
File Operations 2.1.3
foo_freedb2.dll (2012-09-14 11:13:42 UTC)
Online Tagger 0.7
foo_gep.dll (2012-10-04 16:27:54 UTC)
Game Emu Player 1.152
foo_hdcd.dll (2012-07-17 18:40:12 UTC)
HDCD decoder 1.15
foo_input_adplug.dll (2012-09-24 02:39:14 UTC)
AdPlug 1.41
foo_input_amr.dll (2009-03-05 19:20:06 UTC)
AMR input 1.1.1
foo_input_avs.dll (2012-02-19 09:50:20 UTC)
AVS input 0.4
foo_input_celt.dll (2011-05-16 11:21:00 UTC)
CELT Decoder 0.1.2
foo_input_dsdiff.dll (2011-05-18 18:01:22 UTC)
DSDIFF Decoder 1.4
foo_input_dts.dll (2010-09-03 10:18:04 UTC)
DTS decoder 0.3.0
foo_input_exe.dll (2012-10-11 20:56:52 UTC)
Command-Line Decoder Wrapper 0.4
foo_input_fc.dll (2011-06-29 23:38:10 UTC)
Future Composer Decoder 0.2
foo_input_ht.dll (2012-08-25 20:33:32 UTC)
Highly Theoretical 2.0.30
foo_input_hvl.dll (2012-02-19 09:52:04 UTC)
Hively Tracker decoder 1.9
foo_input_kdm.dll (2012-02-19 09:52:40 UTC)
KDM Decoder 1.1
foo_input_monkey.dll (2012-04-20 19:24:30 UTC)
Monkey's Audio Decoder 2.1.6
foo_input_org.dll (2012-02-19 09:53:10 UTC)
Organya decoder 1.9
foo_input_qsf.dll (2012-02-19 09:53:54 UTC)
Highly Quixotic 2.0.20
foo_input_sacd.dll (2012-08-28 12:38:42 UTC)
Super Audio CD Decoder 0.6.0
foo_input_shorten.dll (2009-11-15 19:46:36 UTC)
Shorten decoder 0.4.2.2
foo_input_std.dll (2012-09-14 11:13:32 UTC)
Standard Input Array 1.0
foo_input_tak.dll (2010-01-09 17:11:58 UTC)
TAK Decoder 0.4.4
foo_input_tfmx.dll (2012-02-19 09:55:20 UTC)
TFMX decoder 0.9
foo_input_upse.dll (2012-08-15 17:36:46 UTC)
UPSE PSF Decoder 1.7
foo_input_ym.dll (2011-03-19 10:16:42 UTC)
YM Decoder 0.3
foo_jesus.dll (2010-09-23 00:34:06 UTC)
Autosave & Autobackup 10
foo_keep_queue.dll (2010-11-12 02:28:46 UTC)
Keep Queue 0.3.5
foo_lock.dll (2010-01-11 10:18:36 UTC)
Pause on Lock 0.5
foo_masstag.dll (2009-09-18 08:01:36 UTC)
Masstagger 1.8.4
foo_midi.dll (2012-09-28 09:31:54 UTC)
MIDI synthesizer host 1.174
foo_musicbrainz.dll (2012-07-25 00:23:28 UTC)
MusicBrainz Tagger 0.3
foo_osd.dll (2012-04-13 18:21:22 UTC)
On-Screen Display GDI+ 1.70
foo_out_asio.dll (2012-06-06 13:19:14 UTC)
ASIO support 2.1.2
foo_out_ks.dll (2006-08-04 19:54:58 UTC)
Kernel Streaming Output 1.2.2
foo_out_wasapi.dll (2012-09-02 09:12:42 UTC)
WASAPI output support 3.0
foo_playcount.dll (2011-07-13 09:47:18 UTC)
Playback Statistics 3.0.2
foo_playlist_attributes.dll (2012-08-15 21:20:46 UTC)
Playlist Attributes 0.5.1
foo_playlist_bind.dll (2009-01-04 13:01:24 UTC)
Playlist Bind 3.3
foo_playlistexport.dll (2009-12-08 06:06:28 UTC)
Playlist Export 0.3
foo_playlisthistory.dll (2011-01-18 06:44:48 UTC)
Playlist History 0.1.5
foo_plorg.dll (2011-05-03 13:45:06 UTC)
Playlist Organizer 2.3
foo_podcatcher.dll (2011-01-08 22:39:46 UTC)
Podcatcher 0.2.1 (beta, Jan 9 2011)
foo_popup_panels.dll (2012-01-10 18:37:22 UTC)
Popup Panels 0.1.4
foo_psf.dll (2012-08-14 15:59:26 UTC)
Highly Experimental 2.0.27
foo_queuecontents.dll (2012-02-23 20:06:40 UTC)
Queue Contents Editor 0.5.1
foo_quicksearch.dll (2011-05-29 08:26:56 UTC)
Quick Search Toolbar 3.2
foo_quicktag.dll (2010-09-01 08:15:08 UTC)
Quick Tagger 1.0.3
foo_r128norm.dll (2011-12-18 17:19:40 UTC)
EBU R128 Normalizer 1.11
foo_ramdisk.dll (2012-01-20 09:51:48 UTC)
RAM-Disk 1.0
foo_random_pools.dll (2012-06-08 20:04:48 UTC)
Random Pools 0.1.3
foo_rgscan.dll (2012-09-14 11:12:50 UTC)
ReplayGain Scanner 2.1.2
foo_run.dll (2009-06-07 13:15:18 UTC)
Run services 0.3.7
foo_runcmd.dll (2010-01-07 17:32:34 UTC)
Run Command 1.1
foo_scheduler.dll (2012-07-03 12:20:02 UTC)
Scheduler 4.10
foo_seek_box.dll (2010-04-21 13:03:30 UTC)
Seek box 0.0.3
foo_sid.dll (2012-02-19 10:02:16 UTC)
sidplay2 1.27
foo_simplaylist.dll (2011-08-18 18:01:36 UTC)
SimPlaylist 1.0
foo_simplaylist_manager.dll (2011-08-18 18:03:02 UTC)
SimPlaylist Manager 1.0
foo_skip.dll (2011-06-29 20:46:30 UTC)
Skip Track 1.7.3
foo_skype.dll (2011-05-21 16:33:24 UTC)
Skype playing notifications 0.2
foo_softplaylists.dll (2011-02-05 02:04:50 UTC)
Soft Playlists 2011-02-05
foo_tagbox.dll (2011-03-11 12:53:00 UTC)
TagBox 0.212
foo_texttools.dll (2010-08-24 07:49:52 UTC)
Text Tools 1.0.5
foo_trackpos.dll (2006-12-13 18:04:58 UTC)
Track Positioner 1.0
foo_ui_columns.dll (2011-02-27 19:23:00 UTC)
Columns UI 0.3.8.8
foo_ui_std.dll (2012-09-14 11:13:10 UTC)
Default User Interface 0.9.5
foo_uie_albumlist.dll (2009-03-28 15:14:18 UTC)
Album list panel 0.3.4
foo_uie_lyrics3.dll (2012-06-15 15:59:28 UTC)
Lyric Show Panel 3 0.3.5.2
foo_uie_sql_tree.dll (2012-06-03 06:40:14 UTC)
SQL Tree 1.0.4
foo_uie_tabs.dll (2007-09-08 20:08:54 UTC)
Tabbed panel modified 0.2.6
foo_uie_tagger_mod.dll (2012-01-10 18:46:56 UTC)
Tagger Panel 1.2.9
foo_unpack.dll (2012-09-14 11:12:08 UTC)
ZIP/GZIP/RAR Reader 1.6
foo_unpack_7z.dll (2011-08-13 16:27:58 UTC)
7-Zip reader 1.8
foo_unpack_lha.dll (2012-09-22 07:55:36 UTC)
LHA reader 1.12
foo_unpack_unix.dll (2011-08-13 16:26:26 UTC)
Unix archive reader 1.8
foo_upnp.dll (2012-05-10 16:48:34 UTC)
UPnP/DLNA Renderer, Server, Control Point 0.99.40
foo_verifier.dll (2009-10-05 09:39:20 UTC)
File Integrity Verifier 1.1
foo_vis_shpeck.dll (2009-09-28 09:32:16 UTC)
Shpeck - Winamp vis plugins wrapper 0.3.7
foo_vorbisstream.dll (2009-11-07 11:57:12 UTC)
Vorbis Streamer 1.1
foo_vst.dll (2011-03-05 06:19:04 UTC)
VST 2.4 adapter 0.9.0.3
foo_wave_seekbar.dll (2012-07-17 20:39:58 UTC)
Waveform seekbar 0.2.27


Moreover I encounter long foobar starts (ie 30 seconds or so). I don't know if it is related to the freezing issue or if that's due to initial scan of music library which is all located at external USB2 HD. The long start is however not so much matter since I mostly start it only once after logon and until shutdown I leave it minimized in tray.
Now I did some experimental with starting foobar with clean config.db and it seems that the freezing issue is gone although the CPU is still high when working with huge sets of files. And also the startup noticeably speeds up (about 10-15 seconds only).

So now I needed to know what are the possibilities. Of course I don't want to restart from scratch with clean config (since I already have created many conversion profiles, custom setings, file operations presets etc etc. - BTW. I'd very appreciate if all these internal presets, conversion profiles and possibly all user config were sometime exportable and importable in some easy to read text format - it would simplify solving issues like this significantly).

Really appreciate any useful suggestions.

This post has been edited by Anakunda: Oct 19 2012, 07:30
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Anakunda
post Oct 23 2012, 11:12
Post #2





Group: Members
Posts: 458
Joined: 24-November 08
Member No.: 63072



Thank you for the update. The most part of the problem already was eliminated by reducing significantly the lookup patterns. Beta 2 seems to work without any extensive delays (loading the whole database takes about 8 seconds and CPU load drops down then to idle state which is fine cool.gif )
Load time with exhaustive patterns set was similar (about 11 seconds, then idle instantly)

This post has been edited by Anakunda: Oct 23 2012, 11:30
Go to the top of the page
+Quote Post

Posts in this topic
- Anakunda   foobar2000 problem: high CPU usage, nonresponsiveness and crashes with   Oct 19 2012, 07:28
- - BenB   As to the long foobar starts, viewing the console ...   Oct 19 2012, 07:59
- - Anakunda   So I measured exactly the startup time (cached) wi...   Oct 19 2012, 08:09
|- - BenB   QUOTE (Anakunda @ Oct 19 2012, 02:09) So ...   Oct 19 2012, 18:51
|- - Anakunda   QUOTE (BenB @ Oct 19 2012, 19:51) Can you...   Oct 19 2012, 18:55
- - Peter   Your startup log says it all pretty much. I presum...   Oct 19 2012, 10:58
|- - Anakunda   QUOTE (Peter @ Oct 19 2012, 11:58) I pres...   Oct 19 2012, 11:05
- - Peter   Sounds like the Default UI album list is also inef...   Oct 19 2012, 11:37
- - jayess   I don't doubt what he's saying as I've...   Oct 19 2012, 15:46
- - BenB   Preferences (Ctrl+P) > Media Library > Album...   Oct 19 2012, 19:05
- - Anakunda   Scripts: Default (currently used) artist | year ...   Oct 19 2012, 19:22
- - BenB   Sorry it took so long to get back to you. Try this...   Oct 19 2012, 20:26
|- - Anakunda   Sorry your optimized script doesnot seem work full...   Oct 19 2012, 20:57
- - BenB   OK, I think this is it : CODE$if($or...   Oct 19 2012, 21:18
- - fbuser   Instead of "optimizing" the title format...   Oct 19 2012, 21:23
- - Anakunda   OK thanks this script already works better but som...   Oct 19 2012, 21:31
|- - fbuser   QUOTE (Anakunda @ Oct 19 2012, 21:31) QUO...   Oct 19 2012, 21:53
|- - BenB   QUOTE (Anakunda @ Oct 19 2012, 15:31) I a...   Oct 19 2012, 22:17
- - Anakunda   Thanks for the note. Now I only use for VA albums ...   Oct 19 2012, 22:43
- - Anakunda   I have sent already several crush reports (the las...   Oct 20 2012, 10:08
- - Peter   Thanks for the reports, this is very interesting. ...   Oct 20 2012, 10:25
- - Anakunda   Thanks for the fix. It seems that after removing a...   Oct 20 2012, 10:57
- - Peter   Curious: do you perhaps use complicated album art ...   Oct 20 2012, 21:44
|- - frogworth   QUOTE (Peter @ Oct 21 2012, 06:44) Anyway...   Oct 21 2012, 03:49
- - Anakunda   I'm using these cover art patterns (front only...   Oct 20 2012, 21:58
- - BenB   Wow! There must be well over 200, maybe over 3...   Oct 21 2012, 00:59
- - Anakunda   I reduced the lookup patterns to only folder.* f...   Oct 21 2012, 03:43
- - Peter   BTW, please do not hesitate to post on the forum a...   Oct 21 2012, 14:42
- - Peter   Try with 1.1.16 beta 2 please: http://www.foobar20...   Oct 23 2012, 10:54
- - Anakunda   Thank you for the update. The most part of the pro...   Oct 23 2012, 11:12


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd September 2014 - 17:04