OS Support for Locks

February 23, 2010

I'll start with saying that locks are bad and should mostly be used by infrastructure. The operating system support for locks is mostly by allowing the system to clean up a MUTEX that was locked by a thread and the thread terminated without unlocking. I would expect some more support for example detecting that two threads are using the same lock object over and over again, for example when going over a linked list. The operating system can force the threads to run on the same core. This will actually improve performance. Here is a simple scenario: Record Func(){   Record Item;   while (!found)  ...

FTP Configuration for Server 2008

February 11, 2010

I have just upgraded my server from Server 2003 to Server 2008. With all other porting problems I found out that you cannot just take the FTP configuration on the disk and use it as is. First of all you need to download the recent version of FTP Services because Server 2008 is released with the older version 6.0. http://www.iis.net/expand/FTP I had a problem with user isolation on server 2008 FTP 7. On IIS summary I kept getting the event "User XXXXXX failed to log on, could not access the home directory /.". There is also another event in the system event...
no comments