Re: [9fans] LOCK XADD for i386 incref/decref

2010-04-28 Thread Federico G. Benavento
sorry for the noise, I should rest a bit after this On Wed, Apr 28, 2010 at 11:39 PM, Federico G. Benavento wrote: > sorry, but why in the compiler and not as a library function like in > libthread? > > http://plan9.bell-labs.com/sources/plan9/sys/src/libthread/xinc386.s > > On Wed, Apr 28, 2010

Re: [9fans] LOCK XADD for i386 incref/decref

2010-04-28 Thread Federico G. Benavento
sorry, but why in the compiler and not as a library function like in libthread? http://plan9.bell-labs.com/sources/plan9/sys/src/libthread/xinc386.s On Wed, Apr 28, 2010 at 4:16 PM, Venkatesh Srinivas wrote: > Hi, > > A few months ago, I added a patch to inferno-npe to use LOCK XADD > instead of

[9fans] references/citations [was: A simple experiment]

2010-04-28 Thread EBo
> http://lsub.org/ls/export/opiwp9.pdf > http://lsub.org/ls/export/opiwp9tlk.pdf Thanks. I want to put these into my BibTeX database so that I can cite them in my thesis. Do you have BibTeX entries or information regarding where they were presented or published? Thanks and best regards, E

Re: [9fans] A simple experiment

2010-04-28 Thread Francisco J Ballesteros
yes and no. Yes in that you can use inferno + op to bridge plan 9 systems. No in that there's no native implementation yet. On Wed, Apr 28, 2010 at 11:18 PM, Skip Tavakkolian <9...@9netics.com> wrote: >>> We did a simple experiment recently: added a new 9p type called >>> Tstream, because this is

Re: [9fans] A simple experiment

2010-04-28 Thread EBo
> no, it's an experiment at this point. there are other ideas out there, > and I should have paid more attention to op as nemo points out :-) understand. Don't you just HATE it when you come up with something cool and then find a different alternative stashed in the literature ;-) I look forwar

Re: [9fans] A simple experiment

2010-04-28 Thread Gorka Guardiola
On Wed, Apr 28, 2010 at 11:05 PM, EBo wrote: > Also, where can i find out more info about op and Tget? > http://lsub.org/ls/export/opiwp9.pdf http://lsub.org/ls/export/opiwp9tlk.pdf -- - curiosity sKilled the cat

Re: [9fans] A simple experiment

2010-04-28 Thread Skip Tavakkolian
>> We did a simple experiment recently: added a new 9p type called >> Tstream, because this issue of streams vs. transactions has been >> bugging me for years. The semantics are simple: it's a lot like Tread >> (almost same packet) but a single Tstream results in any number of >> Rstreams, until yo

Re: [9fans] A simple experiment

2010-04-28 Thread ron minnich
On Wed, Apr 28, 2010 at 2:05 PM, EBo wrote: > cool.  Is Tstream integrated back into 9p and publicly available? no, it's an experiment at this point. there are other ideas out there, and I should have paid more attention to op as nemo points out :-) the main point was to see what was possible,

Re: [9fans] A simple experiment

2010-04-28 Thread EBo
Francisco J Ballesteros said: > > We did a simple experiment recently: added a new 9p type called > > Tstream, because this issue of streams vs. transactions has been > > bugging me for years. The semantics are simple: it's a lot like Tread > > (almost same packet) but a single Tstream results in

Re: [9fans] A simple experiment

2010-04-28 Thread ron minnich
On Wed, Apr 28, 2010 at 1:36 PM, Francisco J Ballesteros wrote: > That's similar to a Tget in op with unlimited replies. The difference adds on > quickly. neat, I need to study op more than I did :-) ron

Re: [9fans] A simple experiment

2010-04-28 Thread Francisco J Ballesteros
> We did a simple experiment recently: added a new 9p type called > Tstream, because this issue of streams vs. transactions has been > bugging me for years. The semantics are simple: it's a lot like Tread > (almost same packet) but a single Tstream results in any number of > Rstreams, until you hit

Re: [9fans] three sets of windows

2010-04-28 Thread Jacob Todd
On Wed, Apr 28, 2010 at 07:57:51AM -1000, Tim Newsham wrote: > Right, but left and right click are 1 and 3, no? > They are. -- I am a man who does not exist for others. pgpeTDshgQlDl.pgp Description: PGP signature

Re: [9fans] A simple experiment

2010-04-28 Thread Russ Cox
On Wed, Apr 28, 2010 at 12:06 PM, erik quanstrom wrote: >> And, in the end, if what you want is a stream, then discrete >> request/response transactions can be made to work, but they don't >> always work as well. > > streams are an illusion of the transport layer. packets, bytes, and bits are ill

[9fans] LOCK XADD for i386 incref/decref

2010-04-28 Thread Venkatesh Srinivas
Hi, A few months ago, I added a patch to inferno-npe to use LOCK XADD instead of the current lock/add/unlock sequence for incref and decref: (http://code.google.com/p/inferno-npe/source/detail?r=b83540e1e77e62a19cbd21d2eb54d43d338716a5 and http://code.google.com/p/inferno-npe/source/detail?r=82f1

Re: [9fans] A simple experiment

2010-04-28 Thread erik quanstrom
> And, in the end, if what you want is a stream, then discrete > request/response transactions can be made to work, but they don't > always work as well. streams are an illusion of the transport layer. - erik

Re: [9fans] A simple experiment

2010-04-28 Thread ron minnich
On Wed, Apr 28, 2010 at 11:00 AM, erik quanstrom wrote: > unless you've got some sort of interrupt or cpu bottleneck, > i don't see what message size has to do with this issue.  the > real issue is the # of messages outstanding. Trivially, it always matters: what if msize is 1? There's always a

Re: [9fans] A simple experiment

2010-04-28 Thread erik quanstrom
On Wed Apr 28 13:58:40 EDT 2010, news...@lava.net wrote: > > I admit I am surprised by how much a difference there is, it should > > be just Tread and Rread headers shouldn't it? > > If you have high latency or high bandwidth, the maximum message > size for the 9p messages will be too small to kee

Re: [9fans] three sets of windows

2010-04-28 Thread Tim Newsham
Sorry for the nitpicking, but isn't the scroll wheel usually button 2? It has been on all of my mice. Right, but left and right click are 1 and 3, no? Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com

Re: [9fans] A simple experiment

2010-04-28 Thread Tim Newsham
My apologies, I didn't notice you had used fcp as well. Oops. On Wed, 28 Apr 2010, Tim Newsham wrote: I admit I am surprised by how much a difference there is, it should be just Tread and Rread headers shouldn't it? If you have high latency or high bandwidth, the maximum message size for the

Re: [9fans] A simple experiment

2010-04-28 Thread Tim Newsham
I admit I am surprised by how much a difference there is, it should be just Tread and Rread headers shouldn't it? If you have high latency or high bandwidth, the maximum message size for the 9p messages will be too small to keep the pipe full if you're using read serially. Did you take a look at

Re: [9fans] three sets of windows

2010-04-28 Thread Gorka Guardiola
You can use keys as mouse buttons. I still prefer a separate mouse but sometimes it is not an option. - Curiosity sKilled the cat G. On Apr 28, 2010, at 5:47 PM, "Gary V. Vaughan" wrote: On 28 Apr 2010, at 22:05, Ethan Grammatikidis wrote: On 28 Apr 2010, at 15:40, lu...@proxima.alt.za wrot

Re: [9fans] three sets of windows

2010-04-28 Thread hiro
I remember something which just looked at the size of the pressed area to determine whether it is your palm or finger.

Re: [9fans] three sets of windows

2010-04-28 Thread Gary V. Vaughan
On 28 Apr 2010, at 22:05, Ethan Grammatikidis wrote: > On 28 Apr 2010, at 15:40, lu...@proxima.alt.za wrote: >>> if you're feeling ambitions and want something more like your laptops track >>> pad. >> >> Surely you jest? Something that repositions the cursor to an >> uninteresting location in th

Re: [9fans] A simple experiment

2010-04-28 Thread Charles Forsyth
when timing http it's also a good idea to check that your isp hasn't got the item cached. admittedly, that in itself is a further potential advantage to http, because http caches abound, whereas 9p-based caches are few and far between.

Re: [9fans] three sets of windows

2010-04-28 Thread Ethan Grammatikidis
On 28 Apr 2010, at 15:40, lu...@proxima.alt.za wrote: if you're feeling ambitions and want something more like your laptops track pad. Surely you jest? Something that repositions the cursor to an uninteresting location in the middle of a document by simply hovering one's thumb in the vicini

Re: [9fans] three sets of windows

2010-04-28 Thread Patrick Kelly
> > if you're feeling ambitions and want something more like your laptops > > track pad. > > Surely you jest? Something that repositions the cursor to an uninteresting > location in the middle of a document by simply hovering > one's thumb in the vicinity of the space bar? Or am I just parti

Re: [9fans] three sets of windows

2010-04-28 Thread lucio
> if you're feeling ambitions and want something more like your laptops track > pad. Surely you jest? Something that repositions the cursor to an uninteresting location in the middle of a document by simply hovering one's thumb in the vicinity of the space bar? Or am I just particularly cursed

Re: [9fans] three sets of windows

2010-04-28 Thread Patrick Kelly
I use a Bamboo Fun http://www.wacom.com/bamboo/bamboo_fun.php on my Windows machine, and I love it. There are Linux drivers for the entire Bamboo line, so I'm assuming there's an available specification, if you're feeling ambitions and want something more like your laptops track pad. > > How

Re: [9fans] A simple experiment

2010-04-28 Thread erik quanstrom
> Yeah, if I understand right that is what I meant. Good to know, but > I'm back to the drawing board on why 9p is sometimes so very much > slower than transferring the equivalent files in a tar file over http. rtt. > Maybe fcp should be used with a large number of threads? :s the only limit

Re: [9fans] A simple experiment

2010-04-28 Thread Ethan Grammatikidis
On 28 Apr 2010, at 14:26, erik quanstrom wrote: Could round-trip times be adding up? Does 9p do one file at once strictly? i think you mean, does 9p have 1 outstanding message. it does not. 9p supports having as many outstanding messages as one wishes. if you do a pread(2), the kernel will

Re: [9fans] three sets of windows

2010-04-28 Thread Devon H. O'Dell
2010/4/28 Patrick Kelly : >> > My netbook's trackpad is unacceptable for Plan 9 use, and since it >> > doesn't have a PS/2 port I can't plug in one of my old Logitechs. >> >> I've been using http://www.thehumansolution.com/evoluent.html >> recently, and I do love it. > > How the hell is a shape pat

Re: [9fans] A simple experiment

2010-04-28 Thread erik quanstrom
> Could round-trip times be adding up? Does 9p do one file at once > strictly? i think you mean, does 9p have 1 outstanding message. it does not. 9p supports having as many outstanding messages as one wishes. if you do a pread(2), the kernel will only maintain a single outstanding message for

Re: [9fans] A simple experiment

2010-04-28 Thread erik quanstrom
> larch% time cp /n/sources/extra/plan9.tar.bz2 /dev/null > 0.02u 0.52s 647.90r cp /n/sources/extra/plan9.tar.bz2 /dev/null > > larch% time fcp /n/sources/extra/plan9.tar.bz2 /dev/null > 0.01u 0.85s 49.69r fcp /n/sources/extra/plan9.tar.bz2 /dev/null > > l

Re: [9fans] three sets of windows

2010-04-28 Thread Ethan Grammatikidis
On 28 Apr 2010, at 00:16, John Floren wrote: On Tue, Apr 27, 2010 at 6:54 PM, Tim Newsham wrote: I'm curious about the 3-button mouse... (haven't seen one for a long while, but seems like it might be worth getting one.) you might have seen one and not even known it. Many mice with a scroll

[9fans] Report on fossil robustness

2010-04-28 Thread Adriano Verardo
Hi, all as i wrote a few days ago, I've had serious problems powering off fossil systems booted from a CFlash device (/dev/sdD0). Fossil - as I verified with a hw write protected CF - always write on the disk even if there are no explicit requests in the startup scripts and in the application

Re: [9fans] A simple experiment

2010-04-28 Thread Ethan Grammatikidis
On 28 Apr 2010, at 12:51, Steve Simon wrote: Ok, I admit its a trivial experiment but: fcp is still a 9p conversation. http get is a tcp stream. Fcp is better than cp but not that much better. If you're yanking one file, a TCP stream is pretty ideal. Dropping 9p on top of it, even when the

Re: [9fans] three sets of windows

2010-04-28 Thread erik quanstrom
> > How the hell is a shape patentable? > This is America, anything is patentable. and this is 9fans, not slashdot, which is three doors down and on the right. - erik

Re: [9fans] three sets of windows

2010-04-28 Thread jake
>> > My netbook's trackpad is unacceptable for Plan 9 use, and since it >> > doesn't have a PS/2 port I can't plug in one of my old Logitechs. >> >> I've been using http://www.thehumansolution.com/evoluent.html >> recently, and I do love it. > > How the hell is a shape patentable? This is America

Re: [9fans] three sets of windows

2010-04-28 Thread jake
> you might have seen one and not even known it. Many mice > with a scroll wheel support pressing the scroll wheel as a 3rd > button. its not nearly as pleasant as a real button, but it "works". Sorry for the nitpicking, but isn't the scroll wheel usually button 2? It has been on all of my mice.

Re: [9fans] A simple experiment

2010-04-28 Thread Steve Simon
Ok, I admit its a trivial experiment but: > fcp is still a 9p conversation. http get is a tcp stream. Fcp is > better than cp but not that much better. > If you're yanking one file, a TCP stream is pretty ideal. Dropping 9p > on top of it, even when the 9p involves multiple TREADs > in flight, is