From: lordmulder Date: Sat, 26 Nov 2011 21:28:00 +0000 (+0100) Subject: Updated FAQ document for the new 'number of instances' algorithm. X-Git-Tag: Release_404~162 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=3a74f55c5f7c08d287e68774d481a4671595edfe;p=lamexp%2FLameXP.git Updated FAQ document for the new 'number of instances' algorithm. --- diff --git a/doc/FAQ.html b/doc/FAQ.html index 9d0d167e..6b477347 100644 --- a/doc/FAQ.html +++ b/doc/FAQ.html @@ -36,7 +36,7 @@ a:visited { color: #0000EE; }
  • The LameXP startup (splash screen) takes very long on my system. What can I do?
  • Is there a way to hide/show the LameXP console ("DOS Box") window?
  • Why does application 'xyz' not open the Wave files created by LameXP? -
  • Why does LameXP run only 'n' parallel instances/threads on my computer? +
  • Why does LameXP run (only) N instances/threads in parallel on my computer?
  • How can I force LameXP to create ID3 version 2 (ID3v2) tags?
  • Why does LameXP use LAME v3.99 rather than v3.98?
  • Can LameXP be used to convert/extract tracks from an Audio CD? @@ -464,22 +464,38 @@ You can use a command-line like this:


    -Why does LameXP run only 'n' parallel instances/threads on my computer?
    +Why does LameXP run (only) N instances/threads in parallel on my computer?

    -By default LameXP will detect the number of CPU cores that are available on your system and run as many
    -encoder/decoder instances in parallel as CPU cores are available. This is done in order to maximize the CPU
    -usage on modern multi-core processors and thus speed up the overall encoding process. However be aware that
    -the number of instances that can run in parallel is also limited by the number of files you are converting.
    -Consequently the number of instances that will run in parallel is the minimum(!) of the number of CPU cores
    -and the number of files to convert. Moreover the number of parallel instances is currently bounded at four!
    +LameXP is able to run multiple instances of the encoder or decoder in parallel. This is done in order to
    +maximize the CPU utilization on modern "multi-core" processors, which will significantly speed up the overall
    +encoding process. However be aware that LameXP uses file-based parallelization. This means that the maximum
    +number of instances that can run in parallel is limited by the number of files that are processed. If, for
    +example, you convert only a single file, then NO parallelization will be possible. If, instead, you convert
    +multiple files at once, then LameXP can run as many instances in parallel as files are being converted.

    -Limiting the maximum number of parallel instances to exactly four might seem somewhat arbitrary. But the more
    -instances are running in parallel, the more instances will be competing for the hard disk. At some point this
    -will result in "HDD trashing" and actually slow down the encoding process! The limit will prevent this
    -situation on computers with a lot of CPU cores. If, however, you want to use even more (or fewer) instances,
    -then you can use LameXP's option to manually overwrite the maximum number of parallel instances/threads.
    +Within the aforementioned limitations, LameXP will selected the number of parallel instances based on the
    +number of available processors (CPU cores) on the individual system. However LameXP will NOT use a one-to-one
    +mapping! Instead a custom-made 'cubic spline' function is used to map the number of CPU cores to the maximum
    +number of instances. This function has the following properties: On systems with at most four CPU cores, the
    +maximum number of parallel instances will be identical to the number of CPU cores. On systems with eight CPU
    +cores, the maximum number of parallel instances is six. On systems with 16 cores, the maximum number of
    +parallel instances is eight. On systems with 32 cores, the maximum number of parallel instances is ten. And
    +on systems with 64 cores, the maximum number of parallel instances is twelve. Twelve is the upper limit.

    -Also be aware that LameXP only controls the number of instances that will run in parallel, but it does NOT
    +thumb
    +
    +You may wonder why LameXP doesn't always create one instance for each CPU core. In theory, the more instances
    +we create, the more CPU cores can be utilized. In reality, however, there are more "shared" resources on the
    +computer. And, the more instances we run in parallel, the more processes will be competing for the shared
    +resources! More specifically, the amount of main memory (RAM) is limited. Creating a huge number of instances
    +in parallel can easily use up all RAM, which will cause the operating system to make heavy use of the page
    +file. This can result in HDD thrasing and may significantly hurt the overall performance! But even when there
    +is enough RAM available on the system, each encoder or decoder instance needs to access the HDD, e.g. for
    +reading the input file and for writing the output file. Thus too many instances will cause an I/O bottleneck!
    +If, however, you think that LameXP's choice of the number of parallel instances is too conservative, you may
    +overwrite the number of parallel instances on the "Advanced Options" tab. The upper limit is 16.
    +
    +Finally, note that LameXP only controls the number of instances that will run in parallel, but it does NOT
    control how many threads an individual instance will create! Some encoders use "built-in" multi-threading and
    thus a single encoder instance may create several threads - LameXP has no control over that.

    diff --git a/etc/Translation/Blank.ts b/etc/Translation/Blank.ts index 51a1bd57..8a9b784b 100644 --- a/etc/Translation/Blank.ts +++ b/etc/Translation/Blank.ts @@ -2633,114 +2633,114 @@ - + Show details for selected job - + Browse Output File Location - + Encoding Files - + Your files are being encoded, please be patient... - + Encoding files, please wait... - + Multi-threading enabled: Running %1 instances in parallel! - + Aborted! Waiting for running jobs to terminate... - + Encoding: %1 files of %2 completed so far, please wait... - + Creating the playlist file, please wait... - + Process was aborted by the user after %1 file(s)! - + Process was aborted prematurely by the user! - + LameXP - Aborted - + Process was aborted by the user. - + Error: %1 of %2 files failed. Double-click failed items for detailed information! - + LameXP - Error - + At least one file has failed! - - + + All files completed successfully. - + LameXP - Done - + Playlist creation failed - + The playlist file could not be created: - + Warning: Computer will shutdown in %1 seconds... - - + + Cancel Shutdown diff --git a/etc/Translation/LameXP_PL.ts b/etc/Translation/LameXP_PL.ts index 11988d80..3253669b 100644 --- a/etc/Translation/LameXP_PL.ts +++ b/etc/Translation/LameXP_PL.ts @@ -2633,114 +2633,114 @@ Powrót - + Show details for selected job Pokaż szczegóły wybranego zadania - + Browse Output File Location Wybierz lokalizację dla plików wyjściowych - + Encoding Files Kompresowanie plików - + Your files are being encoded, please be patient... Twoje pliki są właśnie kompresowane, prosze być cierpliwy... - + Encoding files, please wait... Kompresowanie plików, prosze czekać... - + Multi-threading enabled: Running %1 instances in parallel! Wielowątkowosć włączona: Równolegle wykonywanych jest %1 kodowań! - + Aborted! Waiting for running jobs to terminate... Przerwano! Czekanie na wyłączenie procesu... - + Encoding: %1 files of %2 completed so far, please wait... Kompresja: Prosze czekać, jak dotąd wykonano %1 z %2 plików... - + Creating the playlist file, please wait... Tworzenie pliku playlisty, prosze czekać... - + Process was aborted by the user after %1 file(s)! Proces został przerwany przez użytkownika po wykonaniu %1 plików! - + Process was aborted prematurely by the user! Proces został przedwcześnie zakończony przez użytkownika! - + LameXP - Aborted LameXP - Przerwano - + Process was aborted by the user. Proces został przerwany przez użytkownika. - + Error: %1 of %2 files failed. Double-click failed items for detailed information! Błąd: %1 z %2 plików nie zostało skompresowanych. Kliknij dwukrotnie na plik aby zobaczyć szczegóły! - + LameXP - Error LameXP - Błąd - + At least one file has failed! Przynajmniej jeden plik nie został skompresowany! - - + + All files completed successfully. Kompresja wszystkich plików zakończona powodzeniem. - + LameXP - Done LameXP - Zrobione - + Playlist creation failed Tworzenie playlisty zakończone niepowodzeniem - + The playlist file could not be created: Playlista nie mogła zostać utworzona: - + Warning: Computer will shutdown in %1 seconds... Ostrzeżenie: Komputer zostanie zamknięty za %1 sekund/y... - - + + Cancel Shutdown Anuluj wyłączenie komputera diff --git a/src/Config.h b/src/Config.h index 112e85cd..5147587d 100644 --- a/src/Config.h +++ b/src/Config.h @@ -29,8 +29,8 @@ #define VER_LAMEXP_MINOR_HI 0 #define VER_LAMEXP_MINOR_LO 4 #define VER_LAMEXP_TYPE Alpha -#define VER_LAMEXP_PATCH 3 -#define VER_LAMEXP_BUILD 791 +#define VER_LAMEXP_PATCH 4 +#define VER_LAMEXP_BUILD 792 /////////////////////////////////////////////////////////////////////////////// // Tool versions (minimum expected versions!)