Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Why Can't It Just Act As Write-Back Cache? (Score 4, Insightful) 67

(a.) volatile memory is cheap for the amount needed for only the cache search (all it has to store is maybe 16 bytes per sector which is tiny). The ram cache is a trivial amount of the cost compared to the flash memory which is where your sectors are being stored.
(b.) re-read what I've listed above - I'm not suggesting you remove the OS tier of disk caching.
(c.) a fully associative algorithm is trivial in complexity in contrast to their 'adaptive' algorithms. A CS101 undergrad could implement a reasonable implementation in a hour. This is trivial stuff.

The OS is awful at write-back as if the power fails you've lost state. The benefit of a hybrid drive is that the flash is non-volatile. Writing to the flash ram is cheap. Writing to the disk is expensive. You get the best of both worlds with a flash based write-back cache.

The benefit of flash is it's cheaper than RAM so you can have more of it whilst being far faster than mechanical. Having a 32 or 64 GB flash hybrid drive provides sufficient cache to only rarely need to write back to the disk for most user operations whilst not forcing a 'system' and 'data drive'. As far as the system is concerned, it's just presented as one very fast 2 TB drive (or whatever).

The only time the system will slow down is when you begin to strip the cache which is perfectly reasonable as it means you've exhausted the flash capacity. For 99.999% of usage situations, this will never occur and it will feel just like a very very quick 2 TB flash drive.

Comment Why Can't It Just Act As Write-Back Cache? (Score 1) 67

With hard drive access times in the very low milliseconds, it has me baffled why a fully associative cache can't be implemented with write-back.

This strikes me as pretty much the ideal solution. Surely the hardware is fast enough these days to support such a system?

Yes I know the cache hit search becomes the bottleneck, but we're talking hundreds of microseconds here! Use volatile memory for the LRU indexes / search and it would be damn quick for hits. Ensure that the sector tag is still kept for each line (sector) in the flash and on reboot the volatile memory rebuilds its coherency.

PHP

Submission + - March is the Month of PHP bugs

PHP writes: "Stefan Esser is the founder of both the Hardened-PHP Project and the PHP Security Response Team (which he recently left). During an interview with SecurityFocus he announced the upcoming "Month of PHP bugs" initiative: "We will disclose different types of bugs, mainly buffer overflows or double free(/destruction) vulnerabilities, some only local, but some remotely trigger-able (for example, because they are in functions usually exposed to user input). Additionally there are some trivial bypass vulnerabilities in PHP's own protection features. [...] As a vulnerability reporter you feel kinda puzzled how people among the PHP Security Response Team can claim in public that they do not know about any security vulnerability in PHP, when you disclosed about 20 holes to them in the two weeks before. At this point you stop bothering whether anyone considers the disclosure of unreported vulnerabilities unethical. Additionally a few of the reported bugs have been known for years among the PHP developers and will most probably never be fixed. In total we have more than 31 bugs to disclose, and therefore there will be days when more than one vulnerability will be disclosed. The Month of PHP bugs will take place in March 2007.""
User Journal

Journal Journal: The Middle Eastern Islamic Moderate: A Mythical Animal? 30

Ok, you can call this JE the definate admission to something you've all suspected about me for some time. I've lost ALL faith in the possibility of resolving peace within the next 15 generations of mankind. I think our current administration (By firing generals and intelligence sources that didn't toe to their lies) have corrupted the middle management of the armed forces to the point that they don't know how to win a war against Islamic Extremeists. They were counting on big support from the

Slashdot Top Deals

"Protozoa are small, and bacteria are small, but viruses are smaller than the both put together."

Working...