More Myths and Misinformation about Windows and Linux

There is a lot of misinformation people spread on the Internet about both Windows and Linux! I am not sure why this almost always happens when a discussion comes up about Windows and Linux, but it is annoying.

This blog post is a response to the WebHostingTalk post #16 (located here: http://www.webhostingtalk.com/showpost.php?p=6174761&postcount=16). I mean no disrespect to the author of this forum post on WebHostingTalk with my replies to his post.

—————-

Ok. My responses are in purple and direct quotes from the forum post are in red.

– More efficient

In general Linux as an operating system uses a “lot” less resources to run, has a lot less BG processors running, and doesn’t have a gui.

The bare-minimum of RAM one can really use Linux effectively with (on a workstation/server) is 512 MB. Windows really can’t have any less than 1 GB as its bare-minimum. However in this day and age with cheap RAM for computers, this is not a problem.

Also, there are Linux users (mainly Ubuntu/Linux Mint) who use a GUI for their Linux desktops.

One of windows key faults is that you need to speed up the kernel if you want it to have a steady tickrate as opposed to Linux which will run a steady tickrate without any alterations to the kernel.

You are being very unclear. If you are implying that the Windows kernel is “slower” or “less stable” than the Linux kernel, then you are incorrect.

There is also no need to restart a Linux server like you need to do with windows servers because it doesn’t get memory leaks like windows.

How do you know that the memory leaks are not being caused by faulty/poorly written software? How do you know that Windows is even rebooting because of a memory leak? How do you know that you do not just have bad memory?

The need defrag a Linux hdd doesn’t exist either as opposed to windows. 

Uh…fragmentation happens on any file-system. It is a classic ordering problem. When you delete files (on any file-system, NTFS, ext4, ext3, UFS, FAT32, FAT, ZFS, etc.), you leave gaps in the file-system.

These gaps will be filled with other files, but you will also have files before and after the new file. So when the computer goes to access the data, it has to sift though all of the data to find the bits and pieces it needs to complete the task.

Some will also argue (and I tend to agree) that linux handles running more processes at once than what windows can. You find that reliability decreases when more processors are running. 

Not true. How can Linux handle more processes at once than Windows? A process takes up CPU time, RAM, and hard drive space and I/O. It is the same computer whether it runs Linux or Windows.

– Caches better
AFAIK windows kernel doesn’t cache and most game server programs don’t cache any map or material files which can lead to much larger load time. It Doesn’t affect performance that much however it is nice not waiting half an hour just to join a server :p

Your statement is incorrect. The Windows kernel does cache.

Look here: https://blog.computerlagoon.com/wp-content/uploads/2014/11/WindowsKernel-CacheManager-201471311482639.pdf

– Better game play.
This is pure my personal opinion however I personally enjoy playing on a Linux server a lot more than windows. This is mostly due to the fact that I believe that the server runs better on Linux than windows and which leads to better rego.

How does the server run better on Linux than Windows? I have hosted a game server on Windows with no problems that were the fault of Windows.

– More secure (unless you’re an idiot)
Well I believe that Linux is more secure than windows because it’s normally customers who exploit server. 

As long as you have any computer exposed to incoming connections on the Internet, you are at risk of being hacked. This applies to any operating system.

They do this via ftp or some form of access that’s given to them. Most customers run windows on their home computer and are familiar to it (as opposed to Linux which is foreign to them) so they are able to exploit it a lot easier than if it was Linux. Windows is also a lot more prone to getting viruses etc.

How do you know your customers do not know anything about Linux? How would home Windows users be able to exploit Windows faster than Linux? Using Windows (or Linux) does not automatically mean that the user knows all the ins-and-outs of those operating systems.

In addition, while Windows does have more malware available for it, that does not mean Windows is easier to infect, nor that you will be infected when using Windows.

Most viruses today get on computers because the user accidentally got one from somewhere (e.g., shady file download), not that it just happened to get on the system from the Internet without user involvement.

IIRC you could also get plug-ins for windows servers which would exploit the server etc. 

Your statement makes no sense.

– Much much much much more stable
As an operating system Linux is much more stable than windows, I found I got better uptime on linux servers compared to windows. 

How is Linux “more stable” than Windows? Crashes on Windows are almost certainly due to faulty hardware and/or drivers.

Linux server can run for months on end and when updating a linux server there is no need to restart it as opposed to windows which generally needs a reboot when you update it.

Windows requires a reboot after updates to make sure that all the updated files that are used by the system and user-installed programs are using the newly updated files.

Let me explain. When you load a program, all of the required / critical files associated with that program get loaded into memory (e.g., DLL files). Now when you update certain files that are being used by other programs, you have updated those files, but the computer memory still retains the older version of those files you updated. The programs will not re-cache the newer files into memory, until the programs have been restarted.

Microsoft just opted to force the user to reboot, so security, stability, and performance updates are actually applied, and not just lying dormant until the user happens to reboot the computer. Of course, any program that is not currently running, or a program that you manually restart, will then use the updated files automatically.

Also Linux has the same problem. When you update files on Linux (e.g., library files), the processes that are running that make use of those updated files will need to be restarted.

However since it would be difficult to know which processes need to be restarted after a Linux update, it is technically best to just go ahead and reboot the Linux server as well.

You can go here (http://www.howtogeek.com/182817/htg-explains-why-does-windows-want-to-reboot-so-often/) and look under the section entitled “What About Linux and Other Operating Systems?”.

You also find that windows tends to have “random” crashes or its programs stop responding compared to linux which is rarely ever happens.

You will find that in 99% of the cases, this is due to bad hardware and/or drivers. This goes for Linux and Windows.

– Less ram errors.
As someone above posted it might have been due to the hardware, however when I swapped to Linux I no longer had ram errors, so even thou I may not have been using “quality ram” Linux was able to handle it w/o any issues, and when you’re running game servers you want fastest ram possible, and it is very hard to find high speed ECC Ram (well at least it is in Australia. However looking at Newegg they don’t seem to have 1066 ECC ram if it’s even available.) And I would always choose high speed ram over ECC. I also found that windows seemed to get ram leaks which would clogs up the ram.
There are also disadvantages to hosting on linux as some functions do not work, however in overall performance I believe it outperforms 

Since Linux uses less RAM, you are not hitting the bad spots on your RAM sticks. Switching to Linux does not fix bad memory (RAM). You need to test your memory with software such as MemTest86+.

Another guy on WebHostingTalk (http://www.webhostingtalk.com/showpost.php?s=197e5f374bf0d33a54291ae1700e6f1a&p=4307417&postcount=21) switched from Windows to Linux to fix his problem(s) he was having with his machine not being stable. Later on, he admitted that switching to Linux did not solve his problem.

—————-

I really hope people stop spreading misinformation about Windows and Linux on the Internet. I know this will never happen, but this really has to stop. Someone will read bad info on Windows and Linux, and make an ill-informed decision, and this could cause problems that they might have avoided.

If you want to use Linux and can give a valid reason beyond “its more secure” or “more stable” than Windows, then I would say go for it.


Posted in Computers, Internet and Servers, Operating Systems

Critical crypto bug leaves Linux, hundreds of apps open to eavesdropping

http://arstechnica.com/security/2014/03/critical-crypto-bug-leaves-linux-hundreds-of-apps-open-to-eavesdropping/

The link above takes you to an article talking about a cryptography library that supposedly has a vulnerability that allows people to eavesdrop on your SSL and TLS communications on websites and applications that make use of the GnuTLS library.

From the article:

“The bug in the GnuTLS library makes it trivial for attackers to bypass secure sockets layer (SSL) and Transport Layer Security (TLS) protections available on websites that depend on the open source package. Initial estimates included in Internet discussions such as this one indicate that more than 200 different operating systems or applications rely on GnuTLS to implement crucial SSL and TLS operations, but it wouldn’t be surprising if the actual number is much higher. Web applications, e-mail programs, and other code that use the library are vulnerable to exploits that allow attackers monitoring connections to silently decode encrypted traffic passing between end users and servers.”

Oops! Now this does not mean the Linux kernel is the problem, but this does go to show you that one library can bring security to its knees (that goes for any operating system, not just Linux).

This also shows that “many eyes” does not equal security! Remember that ALL software will have security problems, whether it be Windows, MacOS X, Linux, UNIX,  e-mail servers, DNS servers, forum software (phpBB, vBulletin, etc.), and even desktop word processors can have bad code that present a security risk(s) to your computer.

Worse, the open source community was warned a head of time (back in 2008 !) that GnuTLS was not safe to use (http://www.openldap.org/lists/openldap-devel/200802/msg00072.html)!   Did they not the get message?  Did they ignore the warning?  Who knows!


Posted in Computers, Internet and Servers, Operating Systems, Software

Are you ready for the future of the Internet? – Check Your IPv6

According to Wikipedia (quoted in red):

Internet Protocol version 6 (IPv6) is the latest revision of the Internet Protocol (IP), the communications protocol that provides an identification and location system for computers on networks and routes traffic across the Internet. IPv6 was developed by the Internet Engineering Task Force (IETF) to deal with the long-anticipated problem of IPv4 address exhaustion.

IPv6 is intended to replace IPv4, which still carries the vast majority of Internet traffic as of 2013. As of September 2013, the percentage of users reaching Google services over IPv6 surpassed 2% for the first time.

Every device on the Internet must be assigned an IP address in order to communicate with other devices. With the ever-increasing number of new devices being connected to the Internet, the need arose for more addresses than IPv4 is able to accommodate. IPv6 uses a 128-bit address, allowing 2128, or approximately 3.4×1038 addresses, or more than 7.9×1028 times as many as IPv4, which uses 32-bit addresses. IPv4 allows only approximately 4.3 billion addresses. The two protocols are not designed to be interoperable, complicating the transition to IPv6.

Source (as of 12-22-2013): https://en.wikipedia.org/wiki/IPv6

I don’t think IPv6 will be used exclusively for several years. However it is wise to plan ahead and get some sort-of IPv6 setup on your home/office network.

You can check to see if you have IPv6 setup by going here: https://checkyoursix.computerlagoon.com


Posted in Computers, Internet and Servers, Operating Systems

Shared Hosting vs. VPS Hosting

Shared Hosting

Shared web-hosting is when you (as the customer) host your website(s) on a web-host’s server with possibly several other people at the same time. It is like a public fitness center. Everyone from all over come and use the fitness center’s services. You do not know who they are, and they do not know who you are. However, you all still come and use the public fitness center.

Quick Note: “AUP” is short for “Acceptable Use Policy”.

1) Disk Space

Several shared hosts give you massive amounts of disk space for your websites. However, you must be careful to read the web host’s AUP since they may prevent you from using all your disk space you are paying for.

Also, it is best to stay away from any web-hosts who claim to give you unlimited disk space. At best, you might get to use a few GB of hard drive space and possibly be limited to how many files you can put onto your web-hosting space. Please remember there is no such thing as an unlimited hard drive, and it still costs those web hosting companies lots of money to buy new ones for their servers.

2) CPU usage

Many shared hosting companies will limit your website(s) CPU usage. If your blog has several plugins that take up a lot of CPU, and you have several web visitors, you may find your account suspended for heavy CPU usage. Not a good thing if this is your company website.

3) Memory usage

Many shared hosting companies will limit your website(s) memory usage as well. If you decide to import your company’s 1,000 products into your online web store, you may find out that you cannot complete this task, since you ran out of allowed memory from the web host. Not a good thing for your company’s website.

4) Bandwidth

Many shared hosting companies will give you plenty of bandwidth for your website(s). This should not be a worry to you, unless you have large files and/or many website visitors.

It is also a good idea to stay away from any web-hosts who claim to give you unlimited bandwidth. If you use an excessive amount of bandwidth on a “unlimited bandwidth” web-host, there is a good chance your account will get suspended for “abuse”.

5) Security

On shared web-hosts, there will be several people hosting their website(s) on the same server as yours. Not all these people have good intentions. Some may even be on there just for the sake of hacking into other people’s websites.

While the shared web-host should have safe guards in-place to prevent one customer from viewing another customer’s files, this may not always be the case. If you are running a company website (especially an online e-commerce store), hosting the website on a shared web-hosting account is probably not a good idea.

6) Price

Usually shared web-hosts are not very pricey, but that is not always the case. You might even find one for $1.99 per month. Remember that the cheaper the web-host is, usually the cheaper the service is as well.


VPS Hosting

VPS web-hosting is when you (as the customer) host your website(s) on a virtual web-server on one of the web-host’s servers. The advantage to this is that you have much more control. You get your own hard drive space, memory, and control over what services to put on your web-server (as long as the web services do not go against the web-host’s AUP).

1) Disk Space

While you will not get as much disk space (as compared to shared web-hosting) without costing you a lot of money, you still can get a decent amount of hard drive space, at a not-too-high of cost.

2) CPU usage

Many VPS companies should give you some guaranteed CPU power. If your blog has several plugins that take up a lot of CPU, and you have several web visitors, the VPS host might temporarily increase your CPU power. However, always read the web-host’s AUP to see how they handle this issue.

3) Memory usage

Many VPS companies should give you some guaranteed RAM. If you decide to import your company’s 1,000 products into your online web store, and you use up all your guaranteed RAM, the VPS host might temporarily give you more RAM to complete the task. However, always read the web-host’s AUP to see how they handle this issue.

4) Bandwidth

Many VPS companies will give you plenty of bandwidth for your website(s). This should not be a worry to you, unless you have large files and/or many website visitors.

5) Security

On VPS, all virtual servers should be sand-boxed from each other (keep one VPS customer from prying into another VPS customer’s files and whatnot). If the VPS host does not sandbox the VPS accounts, do not use the VPS host. Find another one.

6) Price

VPS services are usually pricey. However, you might find one for $19.99 per month (or less). Remember that the cheaper the VPS host is, usually the cheaper the service is as well.


Posted in Internet and Servers