Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foobar2000 conversion speed 0.00x (Read 12910 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

foobar2000 conversion speed 0.00x

Not every encoder gives me this, FLAC, TAK, WMA lsl for example, ALAC and WavPack convert fine. The first three convert few songs then they go back to 0.00x then few other songs then 0.00x again. I've tried dBpoweramp and EZ CD Extractor and they are quick and never slow down with the same number or processes (8).

I use Case's flac.exe build, I've tested RareWare's flac.exe ICL 13.0 and that goes back to 0.00x even quicker than Case's.

I saw this issue before but never know if they solved it. Just wanted to know if anyone else has problems.

edit:
The processor is an i7-2700k.

edit2:
Title: not ripping but converting. Sorry, can a mod please change the title to "foobar2000 converting speed 0.00x"?

foobar2000 conversion speed 0.00x

Reply #1
nvm, just seen your edit2. damn misleading thread title.... 

foobar2000 conversion speed 0.00x

Reply #2
Stupid test I just ran, converting straight to the primary drive (SSD) and it doesn't slow down, almost every FLAC/TAK goes stable around 800x and WMA lsl ~450x. It seems the data drive (secondary) isn't fast enough for the converter which seems crazy since it's one of the latest Seagate. Done, replacing both data and backup drives ASAP.

Is there a way to tell foobar2000 to optimize the encoder based on the speed of the drive? It seems EZ CD Extractor never passes around 470-500x converting FLAC. foobar2000 always tries the top speed then it has to slow down because it's too fast.

foobar2000 conversion speed 0.00x

Reply #3
i have no idea what you mean by optimise the encoder? all it's doing is spawning command line encoders and waiting for them to finish. i suppose you could request that it intelligently handles the number of processes it spawns but you can already do this manually. file>preferences>advanced>tools>converter>thread count. maybe 4 or 6 would work better?

foobar2000 conversion speed 0.00x

Reply #4
Even with one thread it goes down to 0.00x, after around 15 files. That's what's strange about it.

foobar2000 conversion speed 0.00x

Reply #5
well if a single thread conks out then something is very wrong. you haven't tinkered with any of the other settings in the advanced preferences? perhaps you could setup a new portable foobar install to test with as that will have everything reset to default.

i'm running a dual core myself and have had a quad core in the past and they've always ran at full speed, even when converting hundreds of tracks. i don't have a SSD either.

foobar2000 conversion speed 0.00x

Reply #6
I am always trying with a portable version. The only file I have saved is foo_converter.dll.cfg and the encoder folder (for the version I am trying not the one I use personally).

I will test right now with a new portable copy, no foo_converter.dll.cfg and new flac.exe.

edit:
It went down to 0.00x after 32 files, it stays there for few seconds then stars again.

flac.exe from Case after 32 files.
flax.exe 64-bit from RareWares after 48 files. After it restarted it only converted 10.

Converting to the external drive it barely creates 10 files before it stops.

I've never noticed this before because I use ALAC. Testing an older version of FLAC, 1.2.1b.

Update: 1.2.1b did like 20 files before it stopped.

Downloading TAudioConverter since I can test it with the same flac.exe (or takc.exe).

Update: same issue, TAC stopped after around 20 files.

OS is 8.1 64-bit.

Even ALAC is doing it, this is not a foobar2000 nor an encoder issue. This is the OS or the Hard Drive.

foobar2000 conversion speed 0.00x

Reply #7
Just tested ~200 files on a server with 16 threads. It did slow down a little every tot number of files, it went to ~250-300x then back up right away.

It goes down, now I have to see why it stops, I don't remember it did in the past. I've converted 30000 files few months ago (from FLAC to ALAC) but I don't remember if I had 7 or 8, few things have changed even on my system lately. 8.1 was a fresh install not an upgrade.

The system SSD drive is this one http://www.corsair.com/force-series-3-90gb...hard-drive.html and the data drive is this: http://www.newegg.com/Product/Product.aspx...N82E16822148834

foobar2000 conversion speed 0.00x

Reply #8
Things to check/try

- What kind of controller do you have the data drive connected to?  What mode is it in (IDE/AHCI/RAID)?

- Check the drive in device manager and make sure that it is in better performance mode and not quick removal mode.  Make sure write caching is turned on. 

- If you have any third party anti-virus or "security" software installed, UNINSTALL it.  Disabling is not good enough.

- Use the disk tab in resource monitor to see if anything besides the encoder and foobar are accessing the files.  Also check if the response time for the files is high.

- Check the drive with the Seagate testing tool (seatools).


It's not related to your issue, but your SSD is not a good one.  While it is not as bad as an OCZ, it is still near the top of crappy sandforce SSDs.  Make sure you take frequent backups.




foobar2000 conversion speed 0.00x

Reply #9
washu, thank you, I'll go try these settings right now.

I am just mad that Fry's Electronics managed to sell me something I didn't want: Seagate. I've always bought WD and always had a weird feeling about this one, hearing clicking since the first day and Seagate said they can do that, I hate it.
For the SSD I don't really care, it was just a test, my first SSD. It's fast and everything and the next time I'll get a better one, Samsung and Intel right?

I don't have any antivirus (Windows Defender service is disabled as well), never had one installed in my life and the OS is clean, processes are ok. Nothing or almost nothing is installed, I only use portable apps, I make them that way if they don't originally come portable.

The backup is ok as well, the SSD don't have any data or any data that needs to be backed up, not even on %appdata% since I don't use any installed software. Everything is on D (Seagate) and everything is being copied on a WD backup drive every time the "important" folders are modified.

I own two IT companies, one is just iOS development but the other one is support for companies and IT management. While I don't care or know much anymore about hardware (reason why they sold me these two piece of s**t parts), I mostly do networking, management and backup. My data is ultra safe, the PC can burn down today for what I care.

edit:
Writing cache is enable on both drives. Isn't Better Performance/Quick Removal just for USB drives?

foobar2000 conversion speed 0.00x

Reply #10
Many drives auto-park their heads now for power reasons, so clicking alone is not a sign of a failing drive.  Clicking plus performance problems certainly can be a bad sign.

The response time in Resource monitor is going to be what you should watch.  If it goes high on your files then you know Windows is waiting on something in the I/O system.  Most likely the drive, but it could be the controller, cable or even the driver.

Better performance/Quick Removal can appear on internal drives in some cases.  On some systems you can configure internal SATA ports as eSATA. 

For consumer SSDs I go Samsung > Good Marvell (ex, Crucial M series) > Intel > everyone else > OCZ.  Intel's current consumer SSDs use Sandforce controllers.  They are by far the best Sandforce drives on the market, but they are still Sandforce.  I lost a lot of respect for Intel when they did that.

 

foobar2000 conversion speed 0.00x

Reply #11
I don't have any antivirus, never had one installed in my life and the OS is clean, processes are ok.
If you don't install any antivirus on win8.1, you will have windows defender running. Windows defender on win8.x is actually Microsoft Security Essentials. I don't remember it slowing down local processes that much, but the reason I ditched it was exactly because it was starting to slow down my file access noticeably.

Try converting with task manager open, sorted by CPU/descending. And see if .. mseng.exe, i think it was called, starts eating your CPU suddenly. Or just disable the windows defender service in the services.

edit: just an example of how experiences differ: I'm totally mad at WD for failing me twice. And my current one is a WD BLack which is noticeably slower than any Seagate/Hitachi I previously owned. And they are all in good health even now

foobar2000 conversion speed 0.00x

Reply #12
ChronoSphere, thanks for reminding about Defender, I forgot to say it's one of the first services I disable, post updated.

Didn't WD buy Hitachi (HD division)? I've never liked Seagate but I wanted to give it a try since they make such good drives for servers. Anyway, it's all about experience and brands don't mean much, I guess I have a brand placebo for WD

Just to show you I clean I keep my stuff:

Programs: http://i.imgur.com/0CANFIx.png (Logitech and Adobe Reader are even a plus I am testing now for a customer)

Desktop: http://i.imgur.com/RoTCwU3.png

edit:
washu, I'd rather have a green "fast enough" drive than an always on super fast one. Which one would you suggest I get next? it must be 3-4TB. Thanks.

foobar2000 conversion speed 0.00x

Reply #13
Programs cleaned, updated: http://i.imgur.com/IIE4A9m.png (it doesn't really matter but you know...OCD?)

Testing how many files I have to add for the buffer to add up and lock slow down the converter.

We got ahead with other discussions and I forgot to remind that only converting straight with flac.exe, takc.exe etc. it slows down to 0.00x

EZ CD Extractor does full speed and never locks. I will test dBpoweramp again ASAP.

foobar2000 conversion speed 0.00x

Reply #14
Just an update on the software selection since I ran few more tests, EZ CD Extractor and dBpoweramp slow down to 0x as well.

Let me say it again, this is not a foobar2000 problem, it's a hard drive issue ...99%, 1% the OS.

foobar2000 conversion speed 0.00x

Reply #15
Have you tried running Seatools (DOS version) and do an extensive test? It sounds like a defective drive.

foobar2000 conversion speed 0.00x

Reply #16
I'd rather have a green "fast enough" drive than an always on super fast one. Which one would you suggest I get next? it must be 3-4TB. Thanks.

For reliability, perhaps WD RE (enterprise) drives?
Quis custodiet ipsos custodes?  ;~)

foobar2000 conversion speed 0.00x

Reply #17
I can reproduce your "issue" if I turn off the write cache on my external HDD drive (connected via USB 2.0).
In my drive, when write cache is disabled (and it seems to be disabled by default on USB external drives), closing large files takes considerably long time (seems  waiting/blocking until cached data is completely flushed to the drive).
If this is the case, you can change the cache policy from the drive property.

foobar2000 conversion speed 0.00x

Reply #18
Have you tried running Seatools (DOS version) and do an extensive test? It sounds like a defective drive.
Too much time, the Windows version of the software said the drive is perfectly fine. I think the PC is "too fast" for this drive.

I'd rather have a green "fast enough" drive than an always on super fast one. Which one would you suggest I get next? it must be 3-4TB. Thanks.
For reliability, perhaps WD RE (enterprise) drives?
Too much for my personal use, I sold few WD VelociRaptors to a few customers and they are amazing but again, too much for a my personal desktop. I'd rather get more backup drives.

I can reproduce your "issue" if I turn off the write cache on my external HDD drive (connected via USB 2.0).
In my drive, when write cache is disabled (and it seems to be disabled by default on USB external drives), closing large files takes considerably long time (seems  waiting/blocking until cached data is completely flushed to the drive).
If this is the case, you can change the cache policy from the drive property.
The writing cache is already enabled, I don't see any other option. I will test a WD Green, let's see if one of them is fast enough since it's one of the best quality/reliability/price.

foobar2000 conversion speed 0.00x

Reply #19
I think the PC is "too fast" for this drive.


you really think you're that special? what drivel. the job won't stop. it will just run as fast as your drive can manage. i even tested encoding an album to my crappy old USB stick which barely supports write speeds of 5MB/s. the job ran at 38x realtime according to the foobar console.

foobar2000 conversion speed 0.00x

Reply #20
you really think you're that special? what drivel. the job won't stop. it will just run as fast as your drive can manage. i even tested encoding an album to my crappy old USB stick which barely supports write speeds of 5MB/s. the job ran at 38x realtime according to the foobar console.

Thanks for testing.

foobar2000 conversion speed 0.00x

Reply #21
I haven't read whole topic.
My experience: when conversion with foobar slows down with any drive it means it is dying or at least it works under controller with shitty driver/BIOS. That was the case on my older mobo, where Silicon Image have problems with one version of BIOS or driver for it's SiI3512 controller and that was the case when I run SATA drive under ITA8712F PATA controller through SATA->PATA adaptor. This SATA->PATA adaptor was really shitty.
Other time it was very shitty 32GB USB 3.0 flash drive which was quite quick when writing single file on it, but had serious problems with parallel access to files which was always causing lags in explorer, foobar and sometimes even in firefox. Biggest problem always occurred when 3 conversion temp files needed to be renamed. Then there was 3 mins lasting lag. Flash drive was inaccessible, explorer wasn't responding, conversion speed was 0.00x. After less than a half year this flash has died. I just written some data on it, removed from PC and put into laptop and... nothing happened. Flash was dead already.
So my advice is to check what is going on with the drive that is destination for converted files. There is nothing like "too fast computer for hard drive".

foobar2000 conversion speed 0.00x

Reply #22
I haven't read whole topic.
My experience: when conversion with foobar slows down with any drive it means it is dying or at least it works under controller with shitty driver/BIOS. That was the case on my older mobo, where Silicon Image have problems with one version of BIOS or driver for it's SiI3512 controller and that was the case when I run SATA drive under ITA8712F PATA controller through SATA->PATA adaptor. This SATA->PATA adaptor was really shitty.
Other time it was very shitty 32GB USB 3.0 flash drive which was quite quick when writing single file on it, but had serious problems with parallel access to files which was always causing lags in explorer, foobar and sometimes even in firefox. Biggest problem always occurred when 3 conversion temp files needed to be renamed. Then there was 3 mins lasting lag. Flash drive was inaccessible, explorer wasn't responding, conversion speed was 0.00x. After less than a half year this flash has died. I just written some data on it, removed from PC and put into laptop and... nothing happened. Flash was dead already.
So my advice is to check what is going on with the drive that is destination for converted files. There is nothing like "too fast computer for hard drive".

Agree, even washu asked about the controller but I don't remember really, I have to double check in the bios. The mobo is a ASUS P8H77-M PRO, nothing crazy.  With "too fast" I was referring to the caching or buffering of the drive, since English is my 3rd language it was the easiest way to express it

foobar2000 conversion speed 0.00x

Reply #23
Agree, even washu asked about the controller but I don't remember really, I have to double check in the bios. The mobo is a ASUS P8H77-M PRO, nothing crazy.  With "too fast" I was referring to the caching or buffering of the drive, since English is my 3rd language it was the easiest way to express it


That MB only has an extra controller for the eSATA ports and I am going to assume you are not using them in this case.  Besides, as far as cheap extra controllers go the Marvell one isn't that bad.

What mode do you have the Intel controller in?  It should be in AHCI mode.  It's on page 3-18 of the online english manual.  However, if it is not in AHCI, don't change it as your system may no longer boot. 

If it is in RAID mode, check the drive configuration using the Intel Rapid Storage Technology program.  You could have the drive in RAID mode with the caching turned off, which is separate from the setting in device manager.

If all that checks out the drive is probably just dying.  That particular model is quite fast for a consumer drive when working properly, much faster than a WD Green.

foobar2000 conversion speed 0.00x

Reply #24
That MB only has an extra controller for the eSATA ports and I am going to assume you are not using them in this case.  Besides, as far as cheap extra controllers go the Marvell one isn't that bad.
USB 3 for the external WD Green as backup only.

Quote
What mode do you have the Intel controller in?  It should be in AHCI mode.  It's on page 3-18 of the online english manual.  However, if it is not in AHCI, don't change it as your system may no longer boot.
It is probably in AHCI and yes, I am aware I can't change it

edit:
I cannot believe this, SATA mode is IDE in the BIOS. I guess I have to change it to AHCI, reload, and do more test.

Quote
If it is in RAID mode, check the drive configuration using the Intel Rapid Storage Technology program.  You could have the drive in RAID mode with the caching turned off, which is separate from the setting in device manager.
I'll check this.
Again, it's in IDE mode.

Quote
If all that checks out the drive is probably just dying.  That particular model is quite fast for a consumer drive when working properly, much faster than a WD Green.
Good to know, I'll check better before getting a new one. I've never had any issue with the WD Green that's why I particularly like them, the last one I had though was on a much older still quad core processor.