Clue Bin

Clues for the Clueless

Wildcard RedirectMatch Examples for 301 URL Changes —

RedirectMatch 301 /places/international_and_uk_places/(.*) http://example.com/places/uk/$1
RedirectMatch 301 /places/international_and_uk_places.html http://example.com/places/uk.html

It was decided that the ridiculously long category name “international_and_uk_places” needed to be renamed to ‘uk’ for a much shorter URL slug. The process would change a few hundred urls within that category, and they were all highly indexed in Google.

Rather than waiting for Google to “discover” the new URLs, or manually 301ing the few hundred page urls one by one, we used RedirectMatch to rewrite the entire category on the fly.


FreeBSD 8.1 sysbench Dell r610 vs. 1850 comparison —

I’m currently in the process of replacing a dozen aging 1U Dell PowerEdge 1850 servers with the newer 1u Dell PowerEdge R610.   Obviously the R610s are going to have more nards, but just how much?  The 1850s have a much higher CPU clock speed, 15K drives. The R610s have 15K SAS drives, and have an onboard remote management DRAC system.

Here’s the specs of the two machines and the sysbench tests.

Dell PowerEdge R610
CPU: Intel(R) Xeon(R) CPU           E5520  @ 2.27GHz (2261.01-MHz K8-class CPU)
Origin = “GenuineIntel”  Id = 0x106a5  Family = 6  Model = 1a  Stepping = 5
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x9ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT>
AMD Features=0×28100800<SYSCALL,NX,RDTSCP,LM>
AMD Features2=0×1<LAHF>
TSC: P-state invariant
real memory  = 8589934592 (8192 MB)
Dell PowerEdge 1850
CPU: Intel(R) Xeon(TM) CPU 3.60GHz (3591.25-MHz 686-class CPU)
Origin = “GenuineIntel”  Id = 0xf43  Family = f  Model = 4  Stepping = 3
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
Features2=0x659d<SSE3,DTES64,MON,DS_CPL,EST,TM2,CNXT-ID,CX16,xTPR
AMD Features=0×20100000<NX,LM
TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
# sysbench –test=cpu –num-threads=16 –cpu-max-prime=100000 run
R610 Results
Test execution summary:
total time:                          25.8172s
total number of events:              10000
total time taken by event execution: 412.7666
1850 Results
Test execution summary:
total time:                          294.5756s
total number of events:              10000
total time taken by event execution: 4708.7233

Conclusion: R610 blows the 1850 out of the water