Josef “Jeff” Sipek

May 1, 2010

Steadicam

Filed under: stargate/universe rants — JeffPC @ 18:12

I've resumed watching Stargate Universe. I'm more or less convinced that it's crap. The plot is painful (well, the tiny bits of plot that are there), the characters are annoying, and there are a few "issues" I have with the production. This is going to be my short rant about one aspect of the production.

At some point, someone thought of making a device so that you can hand-hold a camera but still have it stable & steady. This invention is commonly called a Steadicam. Anyhow, I would like to know when it became artsy and cool to not use steadicams, and instead have this unsteady shot. I find this motion distracting and even un-natural. SGU isn't the first show to do this. I vaguely remember BSG doing the same. Why are you doing this?

Of course, not doing silly things with the camera will not fix the other issues with the show - like annoying characters and lacking story lines.

So, if you are responsible for the production of SGU, use those steadicams! They'll improve your show!

April 20, 2010

Dear Facebook

Filed under: rants — JeffPC @ 03:23

Dear Facebook,

I tried to use your @ name completion feature in Opera, and it didn't work...at all!

Love, Jeff.

November 28, 2009

CJK

Filed under: rants — JeffPC @ 23:42

During an experiment, I needed to install Fedora 12. I made a few mistakes:

  1. I went with the netinstall. Unlike Debian's netinstall, Fedora's is very slow.
  2. The installer was a bit sliggish under KVM, and so I accidentally clicked though the window that let me unselect Gnome. So it's installing the whole shebang.
  3. For whatever reason, it is installing CJK fonts. I do not speak either of those languages, and therefore they are useless to me. Furthermore, I've been told that something in the neighborhood of 20% of Fedora users make use of CJK. That just sounds wrong. Why install a package by default that only 20% of your userbase will benefit from? Aren't there more useful packages?

November 15, 2009

Flash

Filed under: rants — JeffPC @ 18:15

Dear Flash,

You Suck.

Sincerely,

Josef 'Jeff' Sipek.

P.S. do I really have to justify this?

November 10, 2009

Firefox

Filed under: open-source rants — JeffPC @ 02:24

Dear Firefox,

You Suck.

Sincerely,

Josef 'Jeff' Sipek.

P.S. xulrunner-stub using 4% CPU when the window is not visible and 36% when re-rendering parts of the page is a bit too excessive.

September 13, 2009

Think!

Filed under: open-source programming programming/kernel rants sysadmin — JeffPC @ 22:02

Alright, it ain't rocket science. When you are trying to decide which filesystem to use, and you see a 7 year old article which talks about people having problems with the fs on Red Hat 7.x (running 2.4.18 kernels), are you going to assume that nothing changed? What if all the developers tell you that things changed? Are you still going to believe the slashdot article? Grrr... No one is forcing you to use this filesystem, so if you believe a 7-year old /. article, then go away and don't waste the developers' & others' time.

August 27, 2009

Benchmarking Is Hard, Let's Go Shopping

Filed under: citi rants — JeffPC @ 02:01

It's been a while since I started telling people that benchmarking systems is hard. I'm here today because of an article about an article about an article from the ACM Transactions on Storage. (If anyone refers to this post, they should cite it as "blog post about an article about ... ;) .)

While the statement "benchmarking systems is hard" is true for most of systems benchmarking (yes, that's an assertion without supporting data, but this is a blog and so I can state these opinions left and right!), the underlying article (henceforth the article) is about filesystem and storage benchmarks specifically.

For those of you who are getting the TL;DR feeling already, here's a quick summary:

  1. FS benchmarking is hard to get right.
  2. Many commonly accepted fs benchmarks are wrong.
  3. Many people misconfigure benchmarks yielding useless data.
  4. Many people don't specify their experimental setup properly.

Hrm, I think I just summarized a 56 page journal article in 4-bullet points. I wonder what the authors will have to say about this :)

On a related note, it really bothers me when regular people attempt to "figure out" which filesystem is the best, and they share their findings. It's the sharing part. Why? Because they are uniformly bad.

Here's an example of a benchmark gone wrong...

Take Postmark. It's a rather simple benchmark that simulates the IO workload of an email server. Or does it? What do mail servers do? They read. They write. But above all, they try to ensure that the data actually hit the disk. POSIX specifies a wonderful way to ensure data hits the disk - fsync(2). (You may remember fsync from O_PONIES & and Other Assorted Wishes.) So, a typical email server will append a new email to the mail box, and then fsync it. Only then it'll acknowledge the receiving the email to the remote host. How often does Postmark run fsync? The answer is simple: never.

Now you may be thinking...I've never heard of Postmark, so who uses it? Well, according to the article (the 56-pages long one), out of the 107 papers surveyed, 30 used Postmark. Postmark is so easy to run, that even non-experts try to use it. (The people at Phoronix constantly try to pretend that they figured out benchmarking. For example, on EXT4, Btrfs, NILFS2 Performance Benchmarks they are shocked (see page 2) that some filesystems take 500 times longer for one of their silly tests, even though people have pointed out to them what barriers are, and that they will have an impact on performance.)

Granted, non-experts are expected to make mistakes, but you'd expect that people at Sun would know better. Right? Well, they don't. In their SOLARIS ZFS AND MICROSOFT SERVER 2003 NTFS FILE SYSTEM PERFORMANCE WHITE PAPER (emphasis added by me):

This white paper explores the performance characteristics and differences of Solaris ZFS and the Microsoft Windows Server 2003 NTFS file system through a series of publicly available benchmarks, including BenchW, Postmark, and others.

Sad. Perhaps ZFS isn't as good as people make it out to be! ;)

Alright, fine Postmark doesn't fsync but it should be otherwise ok, right? Wrong again! Take the default parameters (table taken from the article):

ParameterDefault ValueNumber Disclosed (out of 30)
File sizes500-10,000 bytes21
Number of files50028
Number of transactions50025
Number of subdirectories011
Read/write block size512 bytes7
Operation ratiosequal16
Buffered I/Oyes6
Postmark version-7

First of all, note that some parameters weren't specified by a large number of papers. The other interesting thing is the default configuration. Suppose that all 500 files will grow to 10000 bytes (they'll have random sizes in the specified range). That means that the maximum size they'll take up is 5000000 bytes, or under 5 MB. Since there's no fsync, chances are that the data will never hit the disk! This easily explains why the default configuration executes in a fraction of a second. These defaults were reasonable many years ago, but not today. As the article points out:

Having outdated default parameters creates two problems. First, there is no standard configuration, and since different workloads exercise the system differently, the results across research papers are not comparable. Second, not all research papers precisely describe the parameters used, and so results are not reproducible.

Later on in the 3 pages dedicated to Postmark, it states:

An essential feature for a benchmark is accurate timing. Postmark uses the time(2) system call internally, which has a granularity of one sec. There are better timing functions available (e.g., gettimeofday) that have much finer granularity and therefore provide more meaningful and accurate results.

Anyway, now that we have beaten up Postmark and it is cowering in the corner of the room, let's take a look at another favorite benchmark people like to use - a compile benchmark.

The great thing about compile benchmarks is that they are really easy to set up. Chances are that someone interested in running benchmarks already has some toolchain set up - so a compile benchmark consists of timing the compile! Easy? Definitely.

One problem with compile benchmarks is that they depend on a whole lot of state. They depend on the hardware configuration, software configuration (do you have libfoo 2.5 or libfoo 2.6 installed?), as well as the version of the toolchain (gcc 2.95? 2.96? 3.0? 3.4? 4.0? 4.2? or is it LLVM? or MSVC? or some other compiler? what about the linker?).

The other problem with them is...well, they are CPU bound. So why are they used for filesystem benchmarks? My argument is that it is useful to demonstrate that the change the researchers did does not incur a significant amount of CPU overhead.

Anyway, I think I'll stop ranting now. I hope you learned something! You should go read at least the Linux Magazine or Byte and Switch article. They're good reading. If you are brave enough, feel free to dive into the 56-pages of text. All of these will be less rant-y than this post. Class dismissed!

May 19, 2009

The Science News Cycle

Filed under: humor rants — JeffPC @ 20:23

May 18, 2009: PhD Comics

May 12, 2009

Webinar

Filed under: rants — JeffPC @ 18:56

Today, I found out that "webinar" is not a new concoction. The OED tells us:

orig. U.S. Business

A seminar conducted over the Internet, allowing participants to interact with one another in real time.

1997 DM News (Nexis) 8 Dec. 8 The organization of the Webinar's content and presentation is being handled by Clarify.

2004 Post-Standard (Syracuse, N.Y.) 18 Apr. E2/6 Participants in the Webinars can e-mail questions to experts, with some addressed during the sessions.

2008 Wall St. Jrnl. 24 June A12 (advt.) Attending our free monthly webinars gives you great exposure to new ideas that can drive your business.

The first mention seems to be from over 11 years ago! I just hope that this "word" disappears soon. :(

In general, I have nothing against new words...well, as long as there is a reason to have them. There is really no reason to add "webinar" to the language as seminar works just as well, if not better.

April 25, 2009

Jaunty Jackass

Filed under: rants humor random — JeffPC @ 06:25

From IRC:

<jeffpc> Event: Happy Jaunty Release Day Everyone!
<jeffpc> Where: Corner Brewery
<jeffpc> Why: Because Ubuntu is awesome! Because we?re awesome! Right on.
* jeffpc groans
<jeffpc> obiwan: don't you ever take drugs, young man!
<jeffpc> obiwan: or you'll turn into one of those ubuntu lovers
<obiwan> hahahahahahahahhahahaahahahhaa
<obiwan> I was wondering why you cared about Jaunty Jackass or whatever the
         hell they call their releases
<jeffpc> hahaha
<jeffpc> that's awesome
<jeffpc> Jaunty Jackass
<obiwan> they just call it "Jaunty" like we're supposed to mentally fill in
         the other word
<obiwan> well there you go

Powered by a pile of c