public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Warning about kernel 4.2 performance
@ 2015-10-03  7:56 Andrew Bird
  2015-10-04  4:27 ` solarflow99
  0 siblings, 1 reply; 20+ messages in thread
From: Andrew Bird @ 2015-10-03  7:56 UTC (permalink / raw)
  To: linux-msdos

Hi all,
    I think it best to warn everyone that requires the maximum performance for Dosemu and is using 32bit linux to get hardware assistance via cpuemu=off (the default on 32bit), that if you install a 4.2 kernel or greater the system call that Dosemu uses to get you that extra speed is being turned off by default on upstream kernels. It is up to the individual distros to enable it specifically. This will, depending upon what your DOS app does, cause a considerable performance drop (for me that's about about a factor of 10) as Dosemu falls back to cpuemu=vm86. 

In Ubuntu Wily they have not enabled the vm86() system call, which I expect is because they overlooked the fact a new kernel config switch was added, which means if you need the speed you'll have to start building your own kernels. I raised a bug on Ubuntu's Launchpad tracker asking for the syscall to be compiled in, but runtime disabled by default and you should do the same for your distro if it's important to you too.
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1499089


-- 
Andrew Bird <ajb@spheresystems.co.uk>

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

end of thread, other threads:[~2015-10-16 20:20 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-03  7:56 Warning about kernel 4.2 performance Andrew Bird
2015-10-04  4:27 ` solarflow99
2015-10-04  7:16   ` Andrew Bird
2015-10-04  8:35     ` Felix Miata
2015-10-04  9:27       ` Andrew Bird
2015-10-04 10:32       ` Warning about kernel 4.2 performance (revised) Andrew Bird
2015-10-04 17:26         ` Felix Miata
2015-10-04 17:36           ` Stas Sergeev
2015-10-05  9:47             ` Andrew Bird
2015-10-05 11:20               ` Stas Sergeev
2015-10-05 12:03                 ` Andrew Bird
     [not found]                   ` <CABHtM7Wn44rMU11iKx8H2Z3gZMwWzLKfD7b+KZP8m+1RRmxQ3A@mail.gmail.com>
2015-10-14 18:46                     ` Fwd: " Bart Oldeman
2015-10-14 19:10                       ` Paul Crawford
2015-10-14 22:08                         ` Stas Sergeev
2015-10-16  2:07                           ` solarflow99
2015-10-16 20:20                             ` Stas Sergeev
2015-10-04 16:55     ` Warning about kernel 4.2 performance Stas Sergeev
2015-10-04 20:45       ` solarflow99
2015-10-05  9:33         ` Andrew Bird
2015-10-05 10:05           ` Stas Sergeev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox