From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <6FACD1A6-936C-4B91-9314-1BF3D7C7A0D0@lanl.gov> Content-Transfer-Encoding: 7bit From: Latchesar Ionkov Subject: Re: [9fans] From our "not quite grasping the concept" file Date: Thu, 8 Nov 2007 09:07:31 -0700 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: ef7a662c-ead2-11e9-9d60-3106f5b1d025 On Nov 8, 2007, at 8:20 AM, erik quanstrom wrote: >> The opportunity still exists -- only one driver needs to implement >> their numeric hack - 9p. Then the rest can be based off of that. >> Unfortunately, evolution just comes slow and painful. >> >> -eric > > are 9p mesages really the right vehicle for this? 9p messages > provides a serialized and in a standard byte order. this requires > byte reordering (on intel) and copying. but are these really needed? > the guest and host are on the same platform, so the guest can > pass pointers to the host. for the same reason, integers don't need > reformatting. > > modern devices usually dma directly, so the host may never need > to touch the pointed-to memory. > > perhaps using Fcall structures directly would be more efficient? That's one of the options. We are probably going to start with serialized content (no copying of the data though) and if it is too slow, we won't do serialization. Thanks, Lucho