Monday, March 03, 2008

WIDE Area Director

I was just elected as an Area Director of the WIDE Project. WIDE is Jun Murai's umbrella organization for Internet research, education and operations here in Japan (with tendrils extending through much of Asia, and even the U.S.). Having just been elected, I still have no idea what kind of trouble I've gotten into :-).

WIDE has, I believe, more than 800 active members, about 200 of whom show up for any given WIDE Camp. WIDE Camps happen twice a year, and we are in the spring one right now. Unfortunately, on the shinkansen down here today, it was cloudy, and we couldn't see Mount Fuji. Too bad.

Anyway, it's a two-year term as an AD, and I'm very much looking forward to contributing to the growth and maintenance of WIDE.

NANOARCH

NANOARCH has its call for papers out. Papers are due March 28.

I attended NANOARCH in 2006, and it was intriguing, I'm really glad I went. There are a lot of ideas floating around for what to do when Moore's Law ends, or when we get to the atomic scale for computer architectures. The field is still young, but will become incredibly important in the next decade.

Not sure if I'm going to have a submission or not...

Saturday, February 16, 2008

Caveat on the AR5418

A couple of days ago, I posted about success with the AR5418 and the madwifi driver. That initial success was with 802.11a and 802.11g networks.

This morning, I got it working with an 802.11b network, but not with NetworkManager. NetworkManager could see the access point, but for some reason was unable to actually get an IPv4 address via DHCP. I killed the NetworkManager (/etc/init.d/NetworkManager stop), and ran dhclient ath1 by hand (as root, of course), and it had absolutely no problem picking one up. Not sure why yet, but if you're using NetworkManager and having trouble, try it by hand and see what you get.


[root@localhost Desktop]# cd /etc/init.d
[root@localhost init.d]# ./NetworkManager stop
NetworkManager デーモンを停止中: [ OK ]
[root@localhost init.d]# dhclient ath1
Internet Systems Consortium DHCP Client V3.0.6-Fedora
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath1/00:19:7d:a:b:c
Sending on LPF/ath1/00:19:7d:a:b:c
Sending on Socket/fallback
DHCPDISCOVER on ath1 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 210.x.y.z
DHCPREQUEST on ath1 to 255.255.255.255 port 67
DHCPACK from 210.x.y.z
bound to 10.0.1.3 -- renewal in 1402 seconds.


Hmm, actually, it occurs to me that I have my network at home set up with the same ESSID as the one here, just for simplicity's sake. It's possible that NetworkManager has cached some info (netmask, AP MAC addr, channel, modulation scheme, something) that doesn't match between the two. Worth looking into...

Thursday, February 14, 2008

MadWifi, Fedora 8, AR5418 (Lenovo X60)

Okay, the WLAN is working now!

After finding something similar (not exact, as you'll) on the MadWifi forums, and finally figuring out that I needed madwifi-trunk (as distinct from "most recent release"), the instructions here worked like a charm.

It even works with NetworkManager. Haven't tried WEP yet...

This is with kernel-2.6.23.15-137.fc8 and a yum update as of Valentine's Day, with livna enabled as a yum repository.


[rdv@dhcp-148 ~]$ iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

irda0 no wireless extensions.

wifi0 no wireless extensions.

ath1 IEEE 802.11a ESSID:"redacted" Nickname:""
Mode:Managed Frequency:5.21 GHz Access Point: redacted
Bit Rate:36 Mb/s Tx-Power:13 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality=37/70 Signal level=-59 dBm Noise level=-96 dBm
Rx invalid nwid:113352 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

Tuesday, February 12, 2008

Reversible/Quantum Arithmetic

Just noticed that Qwiki has moved to Stanford, dragging with it the page on quantum arithmetic. (As long as we're talking moving arithmetic pages, mine moved last year, too.)

As a Caltech alum, it saddens me that Hideo has moved. Ah, well, Pasadena's loss, Palo Alto's gain. As long as good research keeps rolling out of his lab, his team's making the world a better place. Good luck, Hideo.

Saturday, February 09, 2008

Microcell at Home?

An article in the Feb. 8 Daily Yomiuri, which unfortunately appears not to be online, says that the government is considering rules to allow people to small cell phone base stations into their houses without a license, to improve reception in basements and houses where the signal is weak. My mother-in-law's house could certainly use one for FOMA...

Jazz in Tokyo

I don't get out to hear live music often enough, but I'm excited by the discovery of Tokyo Jazz Site nonetheless. It was profiled in the Japan Times the other day.

I have only a small fraction of the experience of James Catchpole, but I'll put in a plug for the Blue Note anyway. I happen to think that the food is pretty good; dinner of that quality will cost you 4-7,000 yen anywhere in Tokyo, about what it costs you at the Blue Note. Yes, the shows are expensive and the sets short; but the names are top drawer, and hearing oh, say, the late Oscar Peterson cost us $75 a head in New York ten years ago, and he was sold at $100 a head at Yoshi's Oakland a few years ago, so the difference in price doesn't seem as outrageous to me as it otherwise might. Yes, hearing live jazz is expensive, but even at that, the artists and clubs are mostly making a modest living.

Besides, even going out to the second-tier clubs is Tokyo ain't cheap most of the time. Cover charge for people you've never heard of can be 3-4,000 yen at an obscure club, where a mediocre dinner and overpriced drinks still run the tab to 6-8,000 yen a head. Yes, that's a big difference from the 10-12,000 yen you'll spend at the Blue Note, but the jazz and food will be a lot better. Catchpole gets out much more often than I do, and can afford to trade time for money looking for the exciting, obscure players in the good-for-the-money clubs, but I don't want to waste one of my few trips to a club a year on something disappointing.

Of course, now that I know about his web site, I should be able to improve my hit rate and economize at the same time. Looking forward to reading up on it!

Speaking of such things, a little hole in the wall here in Kamakura named Tipitina has bossa nova tonight. Hmm. I'm at home for the evening with my girls, though.

Traffic Monitoring Using Ubiquitous Computing

The most ubiquitous computing device in the world at the moment is probably the cell phone. Certainly it's the most common network connected device in the world, and it's pretty much always on.

One of the dreams of recent years has been to take advantage of that latent capability. Now Nokia and Berkeley are turning cell phones into traffic monitors.

Nice work.

Arithmetic on a Distributed-Memory Quantum Multicomputer

Huzzah, our paper in JETC is now available!

This paper is an extended version of our ISCA paper from 2006, and is also available on the arXiv.

Tuesday, February 05, 2008

More Snow in Kamakura


...or more pictures of yesterday's snow, anyway. This one is Honkouji. My great-aunt loves jigsaw puzzles, I may see if I can get this one printed onto a puzzle for her.

Sunday, February 03, 2008

Doing Science on a Quantum Computer

Last week was The Third Workshop on the Theory of Quantum Computation, Communication, and Cryptography (TQC 2008), held here in Tokyo. One of the invited speakers was Ignacio Cirac.

I asked the following question (first in dinner conversation, then during my presentation):

When will the first Science or Nature paper appear in which the results are calculated on a quantum computer, but the point of the paper is not the quantum computer?

That is, when will a quantum computer do science, rather than be science?

Ignacio answered, "If you include quantum simulations, within five years."

[In quantum simulation, which is something like Feynman's original vision of quantum computers, you set up your device so that it emulates the behavior of a different physical system -- like simulating a set of mechanical oscillators using an RLC circuit.]

Call me an optimist, but I'm with Ignacio.

Maybe we need a LongBet on this...

Snow in Kamakura!


Apparently a light dusting of snow happens most years, but today we're getting a substantial accumulation (15cm or more) of heavy, wet snow.

I used to look at ukiyo-e of snow in this country, or watch jidai-geki (period piece, meaning samurai) movies and wonder why people in this country used umbrellas in the snow, rather than putting on a decent coat and leaving it at that. In America, it's sort of rare for people to use umbrellas in the snow, but I now get it. Here, even up in Yuki-guni (Snow Country) parts of Japan, most of the time it's not really cold. It's right around freezing, which is not actually uncomfortable unless you're wet -- and the snow here will soak right through many a winter coat, where in a colder, drier climate you could brush the snow right off.

The Great Buddha has been sitting outside in the sun and snow for 510 years, now. He doesn't seem to mind, though in the snow I suspect it takes more willpower to remain so stoic.

Friday, January 25, 2008

Weird Real-World Pipeline

One of the things I asked my students to do when we studied pipelining was to find a real-world pipeline. I'm thinking, you know, the Model A assembly line, that kind of thing.

One of my students came up with this one.

A little context: this "Algorithm taisou" (exercise), invented here in Japan, as far as I know, is normally done by a couple of young guys in suits who go out into the real world and find a half a dozen people (firemen, factory workers) to do this little rhythmic routine with them to music. It's used as an interlude during an NHK kid's program.

You can argue pretty easily that this is a real, eight-stage pipeline. It even has structural hazards: the air between the people ("instructions") flowing through is a shared resource, and the pipeline is carefully constructed so that collisions ("pipeline stalls" or incorrect operation) never occur (as long as the dance is done right :-). I don't see any data or control hazards, though.

More on ZCAV

Disk zoning gets you a nice boost in both transfer rate and capacity, but it doesn't get enough attention as a factor in things like file system design. Russell Coker has written some nice utilities and even blogged about it. To be immodest for a second, I wrote a USENIX paper about the topic more than a decade ago.

What prompted the post was spotting a beautiful ZCAV (disk zoning) effect.

You can see the nice little arc in it, and looks like 16 zones for the Seagate drive.

I've been thinking about this recently, since I lectured about disks last week...and my own hard drive crashed. Yow. I'm think I'm cool, though. Not sure if it was hardware or software. My best guess is unwritten cache writes, but the logical volume manager info got trashed, and it shouldn't have been touched...

Wednesday, January 16, 2008

Spam From ISI?

No, not USC's Information Sciences Institute, where I used to work, but the other ISI. Did I sign up for this, or are they actually spamming people?


From: ISI Research
Reply-To: ISI Research
To: R Van Meter
Subject: Breaking news for publishing authors
Date: Wed, 16 Jan 2008 01:43:16 -0500 (15:43 JST)




As a publishing author represented within Current Contents (R),
Biosis Previews (R) and Web of Science, from ISI, you require
the latest news and resources to stay current in your research.
That's why we think you'll benefit from getting valuable research
information right at your desktop -- for free.


>From time to time, you'll receive e-mails with:

* "Call for Papers" requests from scholarly publishers
* News related to your field of scholarly research
* Information about journals and books in your areas of interest
* New product information connected to your field of research

The information you receive will help you discover groundbreaking
ideas and track the progress of the latest developments. And it will
give you opportunities to try important, new resources that can
change the way you conduct research.


We hope you will find this information convenient and essential to
your work.


Sincerely,

George Kowal
Marketing Manager
Scientific Direct
3501 Market Street
Philadelphia, PA 19104

-----------------------------------------------------
You have received this e-mail in the genuine belief that its contents
would be of interest to you. To not receive these messages from
Scientific Direct or other carefully selected organizations, please go
to our preference page.


Anybody got George Kowal's address? ISI should be a better company than that...

Wednesday, January 09, 2008

Ryo "Oscar" Sakaguchi

As long as I'm singing the praises of our graduates, congratulations are definitely in order for Ryo Sakaguchi, who is sharing a Scientific and Technical Academy Award (Oscar) with Dr. Doug Roble and Nafees Bin Zafar for their work at Digital Domain (where they work with my pal Wook, who recently got married) on fluid simulations used in effects for e.g. "Pirates of the Caribbean".

Congratulations, Ryo!

You Go, Girl

I just found out that Yukari Yoshihara (nee Yukari Umezawa, the name she still uses on books and whatnot) is a graduate of Keio University's Shonan Fujisawa Campus, where I teach. Yukari is a 5-dan professional go player and holds the Women's Kisei title, making her one of the best women players in the country, indeed, probably the world.

Pro go players rarely graduate from college; they usually become "insei" (apprentice go players) at about fifteen, and some don't even bother to finish high school. She, like most pros, was recognized early for her genius.

Yukari is the official technical adviser to the "Hikaru no Go" series of manga. Reportedly, she likes teaching, which is one of the reasons she elected to graduate from college.

Although Keio is Japan's oldest (and, of course, best :-) private university (150 years old this year, making it older than either of my other two alma maters, Caltech and USC), but the SFC campus is only about 17 years old. Yukari, no surprise, was one of the founders of the SFC go club.

I must hang my head in shame that I haven't played a game at all in over six months. Moving, commuting, three trips to the U.S., piano lessons, and that minor thing called work got in the way of more important things, like family and go.

Sunday, December 09, 2007

Fungible Reality

One thing I have been saying for at least a decade (in more depth; I'll keep this short) is that technology makes reality fungible. In particular, your reality can be different from my reality.

Of course, we all always bring our own bias, experience, and self to the interpretation of every event; my wife sees Shakespeare very differently than I do. And in the current day, almost everyone spends time looking for information that reinforces their own preexisting world view -- hence the political blogosphere. But, up through the era of the three major television networks, TV was a shared experience: you could talk on Friday about that Thursday evening episode of "Little House on the Prairie".

But, starting more than a decade ago, it became possible for broadcasters to modify your visual experience so that it didn't directly correspond to, for example, the reality that a baseball fan saw at the stadium. It started with "ad inserts" into the background, behind the batter. At first, they were all the same for a given network, but there's no reason at all that they can't be different for different viewers -- and, indeed, I believe that the inserts that Japanese broadcasters put into Major League baseball games are different from what the U.S. broadcasters insert.

Carried to its extreme, almost anybody anywhere in the chain can modify the viewing experience of the end user, on an individual basis. In fact, I think TiVo did this years ago -- selling personal demographic information, or at least promising to show the Cadillac ad to wealthy viewers and the Jeep ad to sportsmen. Thus, TV is no longer a shared experience.

For data carried over IP networks, it's even more trivial. Any web cache or network box can, in theory, modify your personal experience of the web (or any other form of data carried over the Internet, as long as it's not encrypted). And now, via Lauren Weinsein's blog, we find out that Google is no longer a shared experience.

Of course, in one important sense, Google never was; they can (and do, I believe) modify search results to be personally relevant. The difference in this case is that the reality funger is not someone you planned to trust (Google), but someone you didn't (Rogers Telecom).

Twenty-odd years ago, it caused a stir when National Geographic magazine digitally moved one of the pyramids, and the movie "Clue" was considered clever because it had different endings in different theaters. Now, it's within the realm of possibility for someone with enough processing power and the right position in the network to tailor the results of a ball game -- I see the Red Sox win, you see the Yankees win.

What happens when political censors in some authoritarian country get ahold of this technology? Election results, indeed, most of reality, can change. Reality, or at least its perception, has become fungible, "reality-based community" be damned.

Or will Feynman be right in the end?

Friday, December 07, 2007

IP Storage Mailing List Archive

The only link Google could produce (to my queries, anyway) to the IP Storage Mailing List archive was broken. A query to the fine folks at CMU was quickly answered, and you can find the archives here.

My principal impression, some years later, is one of an enormous amount of work: the key players worked very hard to build a high-quality spec. By the time the IPS effort got underway, I was buried in work at the now-nonexistent Network Alchemy. I don't regret any of the time I spent at Alchemy or Nokia (which bought Alchemy), but after having broken some of the initial technical ground, I do wish I could have been more directly involved in the iSCSI effort.

Why am I ruminating about this now? Well, the basic concept of network-attached peripherals, or network-centric system architectures, seems to be percolating back to the surface. It will be interesting to see how it plays out.

Wednesday, December 05, 2007

Netstation "Renewal", and the Genesis of iSCSI

The Netstation web site has moved (click the link). Actually, the page partially moved a while back, but some links broke in the process; it should now be complete.

Netstation was a project at USC's Information Sciences Institute, focusing on the re-architecting of systems around a network instead of a bus. Greg Finn came up with the idea (independently arrived at by others at Cambridge and MIT) in 1991 or earlier, and the project was funded by ARPA 1994-7, if I recall correctly. We did a network-attached display, keyboard, and disk. Arguably, the work that came from Netstation, members of the National Storage Industry Consortium's working group on Network-Attached Storage (notably Garth Gibson, John Wilkes, and Richard Golding), and later work at Quantum Corp. in collaboration with 3com and Adaptec were the genesis of iSCSI.

The idea of network-attached peripherals goes back at least to the early 1980s, and mainframe architectures employ a switched I/O infrastructure that looks like a network if you squint. A number of these are documented in my OSR paper, available from the Netstation page. But I'll take some of the credit for insisting that the protocol be IP-based; see my 1998 ASPLOS paper, "VISA: Netstation's Virtual Internet SCSI Adapter". Simply googling for "iSCSI" doesn't turn up that paper, because it was written before the term "iSCSI" was coined.

When you first bring the idea of IP-attached peripherals up, hardware folks are negative because of the performance implications, but the really difficult problems are security, device discovery, and sharing. The most interesting change is that the boundary of the system disappears. These problems remain research challenges, a decade later, despite a few forays in that general direction, many of them by Garth Gibson and his students, co-workers and collaborators.

(On a side note, one paper that we wrote that was never published was "NXS: X on a Network-Attached Frame Buffer". We submitted it to the 10th X Conference, but it was rejected, and we never revised and resubmitted. I no longer have a copy of the paper; if anyone out there reading it was on the program committee for that conference and is a compulsive pack rat, I'd love to have one back. That was the single hairiest piece of coding I've ever done...)

I should write up a little more on the history and prehistory of iSCSI. The brief timeline on IBM's web page doesn't go into any of that prehistory...