Linux 3.0 Faster Than Linux 2.6

Linus Torvalds wrote:

Well, so far I haven’t really seen any suggestions on how to improve
it much further.

3.0 will still be noticeably faster than 2.6.39 due to the other
changes made (ie the read-ahead), so yes, the regression itself is
fixed.

But performance on that particular benchmark with that particular
machine is clearly not optimal, in that there are known setups that
would be faster still.

Of course, the reason for the mutex conversion was _other_ loads,
where the spinlocks had bad behavior. So it’s a balancing act. And I
suspect we’ve reached a reasonable point in that balancing, yes.

Linus

Here’s the original thread.

My WordPress Multi-Site .htaccess File

I just solved my WordPress multi-site problem. I have several blogs located in the subdirectories of this blog. The problem was the media files for my sub-blogs were all broken. If you are aware of the WordPress multi-site setup, WordPress creates a blog.dir directory under wp-content. This is where it keeps all of the uploaded media files such as: images, video, etc for the sub-blogs.

The issue was began when my .htaccess file was overwritten or possibly replaced. At first, I thought it was just an issue with the WordPress options pages which is stored in the wp-options table. But, that wasn’t the case. A quick search in the WordPress forums solved that problem. So, I’m writing this article for two reasons: (1.) So others can benefit, (2.) so I have a record of this fix somewhere.

So, here’s my .htaccess file.

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
# uploaded files
RewriteRule ^(.*/)?files/$ index.php [L]
RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ – [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]
</IfModule>
# END WordPress

WordPress and WordPress Mu Merging

This is not exactly breaking news, and it’s certainly not a secret either, but the word on the street is that WordPress and WordPress Mu are merging, most likely in the next big release of version 3.0. Future versions of WordPress will be capable of holding multiple blogs just like WordPress Mu. Bloggers will no longer have to make that tough decision when starting out whether to go WordPress or WordPress Mu. I’ve done both types of installations. Switching from one to the other is not a cakewalk. Merging both versions is another great move for WordPress. I can’t wait to get the next version.