Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #1709 > unrolled thread

Re: Slow down a Process

Started byDave U. Random <anonymous@anonymitaet-im-inter.net>
First post2011-07-09 00:26 +0200
Last post2011-07-24 21:15 +0200
Articles 3 — 3 participants

Back to article view | Back to comp.os.linux.misc

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Slow down a Process Dave U. Random <anonymous@anonymitaet-im-inter.net> - 2011-07-09 00:26 +0200
    Re: Slow down a Process Anton Meyninger <anton.meyninger@gmail.com> - 2011-07-13 14:45 +0100
    Re: Slow down a Process "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> - 2011-07-24 21:15 +0200

#1709 — Re: Slow down a Process

FromDave U. Random <anonymous@anonymitaet-im-inter.net>
Date2011-07-09 00:26 +0200
SubjectRe: Slow down a Process
Message-ID<df849c261591f94248196d0841d4c252@anonymitaet-im-inter.net>
Anton Meyninger <anton.meynin...@gmail.com> [AM]:
AM> I need to slow down a process by 50%. Is there some tool or
AM> something which allows me to do that?

If your program uses X11 graphics or creates a lot of screen output,
you might try running it under a couple (or a couple hundred) nested
'ssh -Y ...' shells.

All but the last one will simply fork a new 'ssh -Y ...' process. The las=
t
(innermost) one will actually execute your program. (Using key based
ssh authorization is a must. You wouldn't want to enter all
those passwords manually...)

Hopefully all those encryption/decryption layers will slow down
your program's execution notably, while all other programs running at
the same time on the same machine will run at normal speed (with
some raising of the 'ssh' processes' nice value).

This hasn't been tested. If you do test it, please post your results.

[toc] | [next] | [standalone]


#1767

FromAnton Meyninger <anton.meyninger@gmail.com>
Date2011-07-13 14:45 +0100
Message-ID<4e1d935a$1@news.x-privat.org>
In reply to#1709
On Sat, 09 Jul 2011 00:26:22 +0200, Dave U. Random wrote:

> Anton Meyninger <anton.meynin...@gmail.com> [AM]: AM> I need to slow
> down a process by 50%. Is there some tool or AM> something which allows
> me to do that?
> 
> If your program uses X11 graphics or creates a lot of screen output, you
> might try running it under a couple (or a couple hundred) nested 'ssh -Y
> ...' shells.
> 
> All but the last one will simply fork a new 'ssh -Y ...' process. The
> las= t
> (innermost) one will actually execute your program. (Using key based ssh
> authorization is a must. You wouldn't want to enter all those passwords
> manually...)
> 
> Hopefully all those encryption/decryption layers will slow down your
> program's execution notably, while all other programs running at the
> same time on the same machine will run at normal speed (with some
> raising of the 'ssh' processes' nice value).
> 
> This hasn't been tested. If you do test it, please post your results.

Hahaha, an awesome idea! And even though I did not thought so, it works. 
I am not into that Linux-thing, so I just opened a terminal, entered ssh -
X 127.0.0.1, logged in and did the same again about ten times. Now, the 
game really runs slower (maybe half speed).

Thanks!

[toc] | [prev] | [next] | [standalone]


#1949

From"Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at>
Date2011-07-24 21:15 +0200
Message-ID<3f70f146619d9de3dd29c6db9341141a@remailer.privacy.at>
In reply to#1709
Anton Meyninger <anton.meynin...@gmail.com> [AM]:

AM> it works.
AM> I am not into that Linux-thing, so I just opened a terminal,
AM> entered ssh - X 127.0.0.1, logged in and did the same again about
AM> ten times. Now, the game really runs slower (maybe half speed).

Great.

--=20
Reason for using unix/linux #46814:
Because your computer should run slower
(but only when _you_ tell it so...)

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.misc


csiph-web