9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] I/O load crashes Qemu
@ 2008-06-14  0:39 erik quanstrom
  2008-06-14  1:24 ` Bakul Shah
  0 siblings, 1 reply; 32+ messages in thread
From: erik quanstrom @ 2008-06-14  0:39 UTC (permalink / raw)
  To: 9fans

> On a T42 running FreeBSD,  a stock FreeBSD-4.11/qemu gets
> 18MB/s & plan9/qemu gets 3MB/s.  Both tested by writing 100MB
> from /dev/zero to a file.  Neither needs any special drivers.
>
> I think part of the performance problem is qemu emulates an
> early Intel ATA controller chip (PIIX3) and perhaps plan9
> does not do certain optimizations.  It would not be too hard
> to emulate a more modern controller.

try turning dma on.  it is very unlikely that plan 9 is missing some
important ata optimization.

> IMHO a virtualizable processor is the necessary first step as
> it clears one's mind about what not to do in an efficient
> virtualizable IO architecture!

unless you are contemplating a processor with i/o instructions,
what does the processor have to do with i/o architecture?

> Emulating grotty device
> registers with horrible side-effects is just too painful and
> one would be forced to abstract that out.  Probably too late
> for that!

i find there's a certain simplicty in dealing directly
with hardware, provided one has documentation.

but just wait, there will come a day when people complain
about the nasty registers in vm and how it would be good to
abstract that stuff out.

i think that may have been yesterday.

- erik




^ permalink raw reply	[flat|nested] 32+ messages in thread
* [9fans] I/O load crashes Qemu
@ 2008-06-13  1:54 Venkatesh Srinivas
  2008-06-13  2:01 ` Pietro Gagliardi
  2008-06-13 12:22 ` Fazlul Shahriar
  0 siblings, 2 replies; 32+ messages in thread
From: Venkatesh Srinivas @ 2008-06-13  1:54 UTC (permalink / raw)
  To: 9fans

Hi,

I currently use Plan 9 in qemu 0.9.1; whenever I try to do anything I/O
demanding such as unpacking a ~100MB tarball, qemu locks up and refuses
further connections (via vnc, or gdb for example). I am using fossil
alone. This behavior occurs whether kqemu is enabled or not, though it
happens a lot faster w/o kqemu.

Has anyone else noticed anything like this? Any thoughts about running
Plan 9 in qemu?

Thanks,
--vs



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

end of thread, other threads:[~2008-06-17 10:51 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-14  0:39 [9fans] I/O load crashes Qemu erik quanstrom
2008-06-14  1:24 ` Bakul Shah
2008-06-14  4:58   ` Bruce Ellis
2008-06-14  5:30     ` Iruata Souza
2008-06-14 12:53     ` erik quanstrom
2008-06-14 15:14       ` Iruata Souza
2008-06-14 14:15   ` erik quanstrom
2008-06-15  0:01     ` Bakul Shah
  -- strict thread matches above, loose matches on Subject: below --
2008-06-13  1:54 Venkatesh Srinivas
2008-06-13  2:01 ` Pietro Gagliardi
2008-06-13  3:38   ` Lorenzo Fernando Bivens de la Fuente
2008-06-13  3:38     ` Lorenzo Fernando Bivens de la Fuente
2008-06-13  4:00     ` Venkatesh Srinivas
2008-06-13  8:08       ` sqweek
2008-06-13 10:41         ` Bruce Ellis
2008-06-13 11:47           ` Rodolfo kix García 
2008-06-13 19:05           ` Bakul Shah
2008-06-13 20:03             ` Lorenzo Fernando Bivens de la Fuente
2008-06-13 20:33               ` Charles Forsyth
2008-06-13 20:30                 ` erik quanstrom
2008-06-13 20:58                   ` Lorenzo Fernando Bivens de la Fuente
2008-06-13 23:52                     ` erik quanstrom
2008-06-14  0:40                       ` Bakul Shah
2008-06-13 20:35                 ` Charles Forsyth
2008-06-13 23:01                 ` Bakul Shah
2008-06-13 23:26                   ` Pietro Gagliardi
2008-06-13 23:36                     ` Bakul Shah
2008-06-13 23:42                     ` Lorenzo Fernando Bivens de la Fuente
2008-06-13 23:52                       ` Uriel
2008-06-17 10:51             ` matt
2008-06-13 12:57   ` stefanha
2008-06-13 12:22 ` Fazlul Shahriar

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).