[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] 100% CPU when convert using PDF2SWF

From: Matt Cline
Subject: Re: [Swftools-common] 100% CPU when convert using PDF2SWF
Date: Sat, 20 Jun 2009 08:58:52 -0700

With .net you could use mutithreading and worker process queues.

On Jun 20, 2009, at 7:43 AM, filip sound <address@hidden> wrote:

Hi Thiago,

everything that needs some time to process naturally takes 100% cpu on a computer unless it is run as a new thread with certain settings concerning cpu usage. it also depends of the cpu architecutre (i.e. how many cores it has). it's easier to handle cpu usage on linux than it is in windows because you can send processes to background or a certain cpu core with the console when you run the program. i have no clue on how to do that in windows without coding a tool for it. i don't know if matthias has implemented anything like a cpu manager - i doubt it.

i'm doing cpu management on a linux server which enqueues all requests and processes 3 at a time (4 cores on the cpu), so one core is free to handle new requests.

hope that helped somehow ...

On Fri, Jun 19, 2009 at 2:03 PM, Thiago Lima <address@hidden> wrote:
On my web application, the users access PDF Files with a login and password. I want to convert this PDF's when the users access my application, but, i did a simulate with 10 users accessing the URL and converting the PDF file with 1,8MB, my CPU Processor got with 100% and appear 10 pdf2swf.exe process in the windows task manager.
Is there a way to reduce the quantity of pdf2swf.exe process independent of how many users are using my application? And why the CPU processor got with 100%? Is it because the pdf size?
Thank you guys.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]