Category Archives: School

School related assignments

Dell OEM Samsung PM830 vs Retail 830 SSD

I recently purchased a Dell M6600  that came with a 512GB SSD Samsung PM830.  Apparently the OEM version of these drives are not supported by Samsung and it appears to not support firmware updates, or they just are simply not released.  I ran a bench mark for performance for a database class I am in and I found a staggering difference between the retail Samsung 830 128GB SSD and the Dell OEM Samsung PM830 SSD both support trim and are sata-3. The difference is mostly just on the 4k random write test.

For the two 830 4k random write results

  • 512GB PM830:  8.49MB/s 2,173iops
  • 128GB 830: 53.75MB/s 13,761 iops

This is a huge difference. The moral for me is don’t buy the OEM upgrade SSD drive. If you can’t update the firmware on SSD you in for trouble.

For the comparison I used the AS SSD Benchmark 1.6.4237

I compared the two drives and my QNAP TS-669 Pro with 6×1.5TB in raid-6 over iscsi on 1gb ethernet

Installing Project Mono on OpenSuse 11.4

Put together a short tutorial for a Lab for school about install mono on linux machines to enable installation of .net applications and aspx sites.

Installed the following packages seemed to do the trick.

yast2 –install apache2 nano  xsp apache2-mod_mono mono-complete

Got the xsp site code from a old distrubution of xsp. I assuming many of the links did not work because the version of mono and everything else was a much newer version.

http://download.mono-project.com/sources/xsp-if/xsp-1.0.6.1.tar.gz

Used this tool to generate a apache host file for the mono test app folder.

http://go-mono.com/config-mod-mono/Default.aspx

YouTube Preview Image

VMWare workstation 8 Virtual Machine sharing

After failing to talk my school into registering for a free vmware school account so I could score VMware workstation 8 I decided to purchase it.  I primarily wanted the feature that they somewhat promoted that allows you to share your virtual machine with other people.

It sounded like a really awesome idea however I couldn’t seem to find any video on the internet that would demo it so I put together a short demo of the sharing feature and how it works.  Overall, I was pretty impressed. It would be a great function for school or having a shared machine on the job where developer could debug code at the same time or share the experience more seemlessly then a go to meeting.

YouTube Preview Image

The entire virtual machine is copied to the sharing folder in order to share it. The level of granularity on the permissions for shares was pretty impressive.

Making Windows 7 Search Useful

By default Winodows 7 does not Index a whole lot of files that one could actually find to be useful. It also does not search by the content of those files which makes searching not useful.

This is  a short tutorial to enable indexing and search of all your favorite filetypes and locations with all  your programming code.

First thing to do is ensure that the Windows 7 search service is running

Search for Service (Note: there is a old version of Windows Indexing service.. That is not it. That is for legacy support older windows.)

Next, ensure the Windows Search service starts automatically.


I am not sure what the performance impact of pumping up the indexes on Windows 7 has on non-ssd drives, but so far it actually seems to be running pretty great.

Example search from start menu “mysql_close(”

Search for “Indexing Options”

This is the initial area where you set the folders to monitor for indexing.

Next, select the file types under “Advanced”

For each of your favorite programming extensions select “Index Properties and Content”

Switching Default Folder Search Behavior

Open the start menu search for “Folder”

Select

  • Always search file names and contents

Folder search option

That’s it. After a couple of hours everything should be indexed.

Adding Ubuntu 11 to Windows 2008 R2 Domain

I found this video on youtube that had a great tutorial that made adding a ubuntu machine to 2008 domain a snap.

Step 1: install likewise add to domain

From the Ubuntu terminal perform the following tasks. Note replace ad.joznet.com with your domain name.

  • sudo apt-get install likewise-open5
  • sudo domainjoin-cli join ad.joznet.com administrator
  • sudo reboot

From there you can verify the machine is part of the domain by in to the domain controller and checking under computers (Figure 1)

Step 2: Modify samba to allow domain login

  • sudo apt-get install samba (not sure if this is required)
  • sudo nano /etc/samba/lwiauthd.conf
      • winbind use default domain = yes
  • sudo reboot
Samba authentication

Step 3: Modify super user doer file

  • sudo nano /etc/sudoers
  • add the under under ‘#Allow members of group sudo to execute any command’
    • %ad.joznet.com\domain^admins ALL=(ALL) ALL

Step 4: Login as domain user now

  • “Other user”
    • administrator@ad.joznet.com
YouTube Preview Image