linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: vmware strange scheduling priority
@ 2003-06-16 19:31 Petr Vandrovec
  0 siblings, 0 replies; 3+ messages in thread
From: Petr Vandrovec @ 2003-06-16 19:31 UTC (permalink / raw)
  To: Antonio Vargas; +Cc: linux-kernel, pme

On 15 Jun 03 at 20:59, Antonio Vargas wrote:
> On Mon, Jun 16, 2003 at 08:39:38PM +0200, Peter Enderborg wrote:
> > Im playing with vmware 4.0 workstation. And it do some strange 
> > things.
> > I start vmware with nice and I got this:
> > 26499 pme       19  19 95980  93M 95020 R N    12 32.6 24.8   8:55 
> > vmware-vmx
> > 26439 pme       19  19  8416 8008  7692 R N     8  3.2  2.0   2:02 
> > vmware-vmx
> > 26492 pme        6 -10 95980  93M 95020 R <    12  2.6 24.8   0:34 
> > vmware-vmx
> > 26409 pme       19  19  4900 3916  2484 S N     0  1.0  1.0   0:29 
> > vmware
> > 26433 pme        5 -10  8416 8008  7692 S <     8  0.5  2.0   0:29 
> > vmware-vmx
> > 26493 pme        5 -10  8056 7268  6988 S <     0  0.5  1.8   0:20 
> > vmware-mks
> > 26495 pme        9   0 67672  65M 66888 S       0  0.2 17.4   0:11 
> > vmware-vmx
> > 
> > 
> > It have changed the prioority to -10 for some of its own tasks. How 
> > can that be done? Its a non suid binary started
> > by a normal user. It's very ugly, but Im more intressted in how it 
> > can be done.
> > The kernel is a 2.4.20.
> 
> pure guessing here...
> vmware relies on having kernel modules instaled.. perhaps
> the do an ioctl to enter the module and then they spin
> off some threads with nice -10 from inside?

Nope. vmware-vmx is suid...
                                            Petr Vandrovec
                                            vandrove@vc.cvut.cz

P.S.: And if you play with default priority for VMware, do not
complain that it is slow as a molase...


^ permalink raw reply	[flat|nested] 3+ messages in thread

* vmware strange scheduling priority
@ 2003-06-16 18:39 Peter Enderborg
  2003-06-15 18:59 ` Antonio Vargas
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Enderborg @ 2003-06-16 18:39 UTC (permalink / raw)
  To: linux-kernel

Im playing with vmware 4.0 workstation. And it do some strange things.
I start vmware with nice and I got this:
26499 pme       19  19 95980  93M 95020 R N    12 32.6 24.8   8:55 
vmware-vmx
26439 pme       19  19  8416 8008  7692 R N     8  3.2  2.0   2:02 
vmware-vmx
26492 pme        6 -10 95980  93M 95020 R <    12  2.6 24.8   0:34 
vmware-vmx
26409 pme       19  19  4900 3916  2484 S N     0  1.0  1.0   0:29 vmware
26433 pme        5 -10  8416 8008  7692 S <     8  0.5  2.0   0:29 
vmware-vmx
26493 pme        5 -10  8056 7268  6988 S <     0  0.5  1.8   0:20 
vmware-mks
26495 pme        9   0 67672  65M 66888 S       0  0.2 17.4   0:11 
vmware-vmx


It have changed the prioority to -10 for some of its own tasks. How can 
that be done? Its a non suid binary started
by a normal user. It's very ugly, but Im more intressted in how it can 
be done.
The kernel is a 2.4.20.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: vmware strange scheduling priority
  2003-06-16 18:39 Peter Enderborg
@ 2003-06-15 18:59 ` Antonio Vargas
  0 siblings, 0 replies; 3+ messages in thread
From: Antonio Vargas @ 2003-06-15 18:59 UTC (permalink / raw)
  To: Peter Enderborg; +Cc: linux-kernel

On Mon, Jun 16, 2003 at 08:39:38PM +0200, Peter Enderborg wrote:
> Im playing with vmware 4.0 workstation. And it do some strange 
> things.
> I start vmware with nice and I got this:
> 26499 pme       19  19 95980  93M 95020 R N    12 32.6 24.8   8:55 
> vmware-vmx
> 26439 pme       19  19  8416 8008  7692 R N     8  3.2  2.0   2:02 
> vmware-vmx
> 26492 pme        6 -10 95980  93M 95020 R <    12  2.6 24.8   0:34 
> vmware-vmx
> 26409 pme       19  19  4900 3916  2484 S N     0  1.0  1.0   0:29 
> vmware
> 26433 pme        5 -10  8416 8008  7692 S <     8  0.5  2.0   0:29 
> vmware-vmx
> 26493 pme        5 -10  8056 7268  6988 S <     0  0.5  1.8   0:20 
> vmware-mks
> 26495 pme        9   0 67672  65M 66888 S       0  0.2 17.4   0:11 
> vmware-vmx
> 
> 
> It have changed the prioority to -10 for some of its own tasks. How 
> can that be done? Its a non suid binary started
> by a normal user. It's very ugly, but Im more intressted in how it 
> can be done.
> The kernel is a 2.4.20.

pure guessing here...
vmware relies on having kernel modules instaled.. perhaps
the do an ioctl to enter the module and then they spin
off some threads with nice -10 from inside?
 
> -
> To unsubscribe from this list: send the line "unsubscribe 
> linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
winden/network

In fact, this is all you need to know to be
a Caveman Database Programmer:

A relational database is a big spreadsheet
that several people can update simultaneously. 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-06-16 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-16 19:31 vmware strange scheduling priority Petr Vandrovec
  -- strict thread matches above, loose matches on Subject: below --
2003-06-16 18:39 Peter Enderborg
2003-06-15 18:59 ` Antonio Vargas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).