|A Tale of Two Stories
||[May. 24th, 2007|09:22 am]
1 - djedi and I were driving home when I heard a noise coming from under the car that quickly got louder. It sounded like something had fallen under the car and we were dragging it along or something. We were slowing down anyway so djedi poked his head out the door to see that the right front tire was quite flat. I pulled over to the side and we got out. Luckily we were less than a mile from home by this point, so regardless we could walk home or whatever. Anyway, djedi gets out the mini compressor that was a present from djedi's family (thanks!) and starts pumping air into it. After like 5 minutes of this, it's pretty clear it's not filling up, and I find a reasonably sized hole in the side. (I tried applying pressure with my finger while it was filling up, but that didn't seem to help)
So, djedi looks in the trunk and finds no spare tire. Ack! So I call AAA (the fact that I have a membership gives me great peace of mind, as I'm not so good with cars), and after they transfer me to the Maryland office (I hadn't changed my address...) she sends a tow truck out. Luckily we remember there's a Firestone just down the road, and they're only open until 7 (it's around 6:40 by now) but I can drop the car off out front.
While we're waiting, we both think it's awfully odd that the car, which definitely came with a spare tire, doesn't have one now, despite the fact that I've never used it or anything, so we go back to the trunk to check. Turns out all the storage is done origami-style - so you fold up some stuff to get to the jack and stuff, but then if you fold it up again there is a spare tire! Whoops. I read the instructions while djedi changes out the tire, which goes pretty smoothly. Just around the time we finish I see a tow truck driving the other way that honks as it goes by, and sure enough it turns around and stops. I explain to the friendly driver that we did in fact have a spare and so we could drive it ourselves :-)
Anyway, djedi walks home to start dinner and I carefully drive over to the Firestone. It's already 7:10 but they're still around finishing up, so I watch some "Jeopardy!" while I wait and finally tell them the situation, drop off the key and jog home. I don't like jogging, but this wasn't a long way and it was really a beautiful day out so I didn't mind.
Afterword: Since the hole was in the side of the tire, I'm getting four new tires. I needed an oil change anyway, so this works out decently. (and I'm not getting a Firestone charge card despite getting halfway through the application before realizing what the guy was trying to sell me...)
2 - Ever since I got my new computer a year and a halfish ago, it's been slow. Not for doing big computations, but for switching between screens, starting up Firefox, etc. World of Warcraft is particularly bad, as I've noticed a couple of times that when I switch away and from it, it's very slow and jerky, and loading new zones takes fooooorever. This made me kinda unhappy, but I had mostly learned to live with it. A few days ago I was rereading Linux Server Hacks and I got to the tip about using hdparm. Now I had set this up a long time ago but it suddenly occurred to me that maybe it wasn't working, and this was why things were so slow!
I went to my computer and did the timing tests with
hdparm -tT /dev/hdc. The "Timing buffered disk reads" came back with 1.67 MB/sec, which even my years-old book says was laughably low. Encouraging! So I tried turning on lots of stuff with
hdparm -d1 -u1 -X66 -c3 -m16 /dev/hdc. Unfortunately, it said that turning on DMA was "not supported", but everything else was turned on, and that got the speed up to around 3 MB/sec. (it turns out the old
hdparm settings weren't working because my hard drive had changed from /dev/hda to /dev/hdc)
Not bad! But I wondered why I couldn't turn DMA on, as that would in general help the most. So after doing a little research I discovered the problem was that support for the IDE controller wasn't built in to the kernel. I decided to go ahead and download a new kernel anyway and (after eventually finding the right option) turned on the IDE controller supported. After installing it, I was indeed able to turn DMA on, and now the speed is anywhere between 30 to 60 MB/sec! I had to recompile a couple of times to get my sound and iptables filtering working again (I think the options changed between kernels), but I finally got it all up last night. My system is noticeably more responsive, and loading WoW screams (at least comparatively).
This makes me a happy panda!