Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #1696 > unrolled thread
| Started by | Anton Meyninger <anton.meyninger@gmail.com> |
|---|---|
| First post | 2011-07-08 17:44 +0200 |
| Last post | 2011-07-08 12:10 -0500 |
| Articles | 11 — 7 participants |
Back to article view | Back to comp.os.linux.misc
Slow down a Process Anton Meyninger <anton.meyninger@gmail.com> - 2011-07-08 17:44 +0200
Re: Slow down a Process unruh <unruh@wormhole.physics.ubc.ca> - 2011-07-08 15:54 +0000
Re: Slow down a Process Anton Meyninger <anton.meyninger@gmail.com> - 2011-07-08 18:09 +0200
Re: Slow down a Process despen@verizon.net - 2011-07-08 12:52 -0400
Re: Slow down a Process Anton Meyninger <anton.meyninger@gmail.com> - 2011-07-08 21:32 +0200
Re: Slow down a Process Eli the Bearded <*@eli.users.panix.com> - 2011-07-08 16:59 +0000
Re: Slow down a Process David Brown <david.brown@removethis.hesbynett.no> - 2011-07-09 14:53 +0200
Re: Slow down a Process Chris Davies <chris-usenet@roaima.co.uk> - 2011-07-10 10:47 +0100
Re: Slow down a Process David Brown <david.brown@removethis.hesbynett.no> - 2011-07-10 12:57 +0200
Re: Slow down a Process Chris Davies <chris-usenet@roaima.co.uk> - 2011-07-10 22:15 +0100
Re: Slow down a Process Robert Heller <heller@deepsoft.com> - 2011-07-08 12:10 -0500
| From | Anton Meyninger <anton.meyninger@gmail.com> |
|---|---|
| Date | 2011-07-08 17:44 +0200 |
| Subject | Slow down a Process |
| Message-ID | <4e1725e4$1@news.x-privat.org> |
Hi, I need to slow down a process by 50%. Is there some tool or something which allows me to do that? Thanks, Anton
[toc] | [next] | [standalone]
| From | unruh <unruh@wormhole.physics.ubc.ca> |
|---|---|
| Date | 2011-07-08 15:54 +0000 |
| Message-ID | <slrnj1ea1f.tv9.unruh@wormhole.physics.ubc.ca> |
| In reply to | #1696 |
On 2011-07-08, Anton Meyninger <anton.meyninger@gmail.com> wrote: > Hi, > I need to slow down a process by 50%. Is there some tool or something > which allows me to do that? Run it on a slower machine. Perhaps if you told us what you were trying to do, rather than asking how to impliment what you think is the solution, you might get some useful advice. > > Thanks, > Anton
[toc] | [prev] | [next] | [standalone]
| From | Anton Meyninger <anton.meyninger@gmail.com> |
|---|---|
| Date | 2011-07-08 18:09 +0200 |
| Message-ID | <4e172bbb$1@news.x-privat.org> |
| In reply to | #1697 |
Okay, I am trying to slow down a flashgame.
[toc] | [prev] | [next] | [standalone]
| From | despen@verizon.net |
|---|---|
| Date | 2011-07-08 12:52 -0400 |
| Message-ID | <icvcvc67f9.fsf@verizon.net> |
| In reply to | #1699 |
Anton Meyninger <anton.meyninger@gmail.com> writes: > Okay, I am trying to slow down a flashgame. Google searches tell me you are trying to cheat. IMHO not nice to involve bystanders. -- Dan Espen
[toc] | [prev] | [next] | [standalone]
| From | Anton Meyninger <anton.meyninger@gmail.com> |
|---|---|
| Date | 2011-07-08 21:32 +0200 |
| Message-ID | <4e175b3d$1@news.x-privat.org> |
| In reply to | #1700 |
Am 08.07.2011 18:52, schrieb despen@verizon.net: > Anton Meyninger<anton.meyninger@gmail.com> writes: > >> Okay, I am trying to slow down a flashgame. > > Google searches tell me you are trying to cheat. Okay, I admit it. I am trying to cheat. But that is more because of personal interest ;D
[toc] | [prev] | [next] | [standalone]
| From | Eli the Bearded <*@eli.users.panix.com> |
|---|---|
| Date | 2011-07-08 16:59 +0000 |
| Message-ID | <eli$1107081259@qz.little-neck.ny.us> |
| In reply to | #1699 |
In comp.os.linux.misc, Anton Meyninger <anton.meyninger@gmail.com> wrote:
> Okay, I am trying to slow down a flashgame.
The 'warp' tool will change time as seen by a process. If it uses the
system clock to set speed, it can be warped. This part of the AT&T
software kit here:
http://www2.research.att.com/sw/download/
Pretty sure it is in ast-base.
Excerpt from the manpage:
warp executes a dynamically linked command in a different time frame by
intercepting time related system calls and modifying the times seen by
command using the formula:
time = time + warp + (time - base) * (factor - 1)
where warp is date-now, base is date by default, and factor is 1 by
default.
Elijah
------
lets do the time warp again...
[toc] | [prev] | [next] | [standalone]
| From | David Brown <david.brown@removethis.hesbynett.no> |
|---|---|
| Date | 2011-07-09 14:53 +0200 |
| Message-ID | <Hsudnd-4pOOs0oXTnZ2dnUVZ8hydnZ2d@lyse.net> |
| In reply to | #1699 |
On 08/07/11 18:09, Anton Meyninger wrote: > Okay, I am trying to slow down a flashgame. Try running it on Windows... You could also run it inside a virtual machine. If you use QEMU, the simulation of the processor should make it all run significantly slower.
[toc] | [prev] | [next] | [standalone]
| From | Chris Davies <chris-usenet@roaima.co.uk> |
|---|---|
| Date | 2011-07-10 10:47 +0100 |
| Message-ID | <g29oe8xcrt.ln2@news.roaima.co.uk> |
| In reply to | #1718 |
David Brown <david.brown@removethis.hesbynett.no> wrote: > You could also run it inside a virtual machine. If you use QEMU, the > simulation of the processor should make it all run significantly slower. I'm not the OP but on my system qemu is effectively a link to kqemu, which seems to run at about 90% of real CPU. Chris
[toc] | [prev] | [next] | [standalone]
| From | David Brown <david.brown@removethis.hesbynett.no> |
|---|---|
| Date | 2011-07-10 12:57 +0200 |
| Message-ID | <ks2dndGfy_QvGITTnZ2dnUVZ8iCdnZ2d@lyse.net> |
| In reply to | #1728 |
On 10/07/11 11:47, Chris Davies wrote: > David Brown<david.brown@removethis.hesbynett.no> wrote: >> You could also run it inside a virtual machine. If you use QEMU, the >> simulation of the processor should make it all run significantly slower. > > I'm not the OP but on my system qemu is effectively a link to kqemu, > which seems to run at about 90% of real CPU. > Yes, that's why I said qemu - not kqemu. QEMU is a software simulator for processors, and will therefore run slowly. kqemu is a module that allows qemu to run most code natively rather than simulated. Normally that's what you want - it's the basis for KVM virtualisation. But in this case, the OP should specifically run QEMU to force software emulation of the processor.
[toc] | [prev] | [next] | [standalone]
| From | Chris Davies <chris-usenet@roaima.co.uk> |
|---|---|
| Date | 2011-07-10 22:15 +0100 |
| Message-ID | <rchpe8xoig.ln2@news.roaima.co.uk> |
| In reply to | #1732 |
David Brown<david.brown@removethis.hesbynett.no> wrote: > You could also run it inside a virtual machine. If you use QEMU, the > simulation of the processor should make it all run significantly slower. On 10/07/11 11:47, Chris Davies wrote: > on my system qemu is effectively a link to kqemu David Brown <david.brown@removethis.hesbynett.no> wrote: > Yes, that's why I said qemu - not kqemu. Agreed. But like you stressed qemu rather than kqemu (or even kvm, for that matter), I wanted to point out that qemu *is* kqemu - at least under some circumstances. Cheers Chris
[toc] | [prev] | [next] | [standalone]
| From | Robert Heller <heller@deepsoft.com> |
|---|---|
| Date | 2011-07-08 12:10 -0500 |
| Message-ID | <Z6CdnQ0MYrKMp4rTnZ2dnUVZ_o-dnZ2d@posted.localnet> |
| In reply to | #1697 |
At Fri, 08 Jul 2011 15:54:24 GMT unruh <unruh@wormhole.physics.ubc.ca> wrote:
>
> On 2011-07-08, Anton Meyninger <anton.meyninger@gmail.com> wrote:
> > Hi,
> > I need to slow down a process by 50%. Is there some tool or something
> > which allows me to do that?
>
> Run it on a slower machine.
> Perhaps if you told us what you were trying to do, rather than asking
> how to impliment what you think is the solution, you might get some
> useful advice.
I suspect the OP faced a similar problem I had with a screensaver
application I wrote (the animation speeded up when run on a faster
machine). I needed to add delay loops in the code (although something
like a call to usleep() would also work and be more *processor*
independent).
>
> >
> > Thanks,
> > Anton
>
--
Robert Heller -- 978-544-6933 / heller@deepsoft.com
Deepwoods Software -- http://www.deepsoft.com/
() ascii ribbon campaign -- against html e-mail
/\ www.asciiribbon.org -- against proprietary attachments
[toc] | [prev] | [standalone]
Back to top | Article view | comp.os.linux.misc
csiph-web