Forgot your password?
typodupeerror

Comment Geek Wars (Score 1) 344

Your subject line is a lie! According to the article you linked, Mr. Miller was a great guy.

But I see what you did there. You're just honoring roblimo by imitating him:

"Because Prodigy paid Miller based on user activity, he did his best to spark debate in the political chat room.

"I'd just say stuff to piss people off," Miller said"

Hardware

Submission + - How to Write Bits Directly Onto Hard Drive Platter 1

kidcharles writes: I'm working on a project that requires writing bits to a magnetic hard drive platter in a completely controlled fashion. I'd like to be able to control exactly where 1's and 0's will appear physically on a platter. Normally when data is written to a drive the actual bits that get written are determined by the file system being used and also what kind of error handling the drive itself is using (e.g. Reed-Solomon). All of the modern innovations in file systems and error handling are great for reliable and efficient data storage, but they are making my particular task quite daunting. My question for you Slashdotters is how you might approach this problem. Is there a way to get down to the "bare metal" so-to-speak and write these bits? Any good utilities out there to do this? Obviously a free and open source solution would be preferable but I'm open to anything at this point.

Submission + - Bernie Madoff's Programmers Arrested (wsj.com) 1

ZipK writes: With their former boss cooling his heels on a 150-year sentence, programmers Jerome O'Hara and George Perez are now in the U.S. Attorney's crosshairs. They've been arrested and charged with "conspiracy, falsifying books and records of a broker-dealer and falsifying the books and records of an investment advisory." Apparently Madoff's fraud was too large and too complex to be foisted entirely by hand.

Comment Re:I prefer none. (Score 1) 983

Linux kernel at swappiness >= 60 will favor file buffers over large long-running apps.

I'm guessing FreeBSD does this better than Linux.

So your httpds would probably be fine even on linux, but my server JVMs get pushed out and incur a big penalty to be paged back in.

I wouldn't advise people turn off swap either, just to be aware that the penalty is incurred, and that it can be avoided e.g. with a lower swappiness value and/or the mlock(2) call.

Comment Re:I prefer none. (Score 1) 983

That is why many Unix admins recommend swap. It helps the system effectively manage its resources without incurring a penalty, so why wouldn't you?

Oh, but a big penalty is incurred. Always.

File buffers (for faster repeated reads) are a 100% total waste of RAM for a lot of disk reads that are never repeated, such as the nightly backup, slocate, makewhatis, and similar poltergoosts that come out between midnight and 4am localtime when nobody's looking.

Comment Re:I prefer none. (Score 1) 983

I'm with you in the "don't let the OS swap out your apps" camp.

But rather than completely turn off swap, I use vm.swappiness=20 on linux servers and workstations, much less swappy than the default of 60.

So to prevent the OS from swapping out my precious latency-sensitive BloatyApp (JVM) even if it's been idle for days, I recommend making a call to mlockall, through a JNI wrapper.

From mlock(2): "All mapped pages are guaranteed to be resident in RAM when the call returns successfully; the pages are guaranteed to stay in RAM until later unlocked."

Slashdot Top Deals

My sister opened a computer store in Hawaii. She sells C shells down by the seashore.

Working...