Re: SSD support

2011-04-21 Thread John Plevyak
jplevyak:svn [55] % make CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /home/jplevyak/projects/ts/svn/build/aux/missing --run aclocal-1.11 -I build cd . && /bin/sh /home/jplevyak/projects/ts/svn/build/aux/missing --run automake-1.11 --foreign configure.ac:1185: required file `proxy/config/ssd_stor

Re: SSD support

2011-04-21 Thread 张练
John, i submitted my patch to https://issues.apache.org/jira/browse/TS-745, thank for your help. On Thu, Apr 21, 2011 at 5:29 AM, John Plevyak wrote: > Looking at that web page, I can't see the code. If you post it I can > take a look. The problem is complicated by the fact that deletion

Re: SSD support

2011-04-20 Thread John Plevyak
Looking at that web page, I can't see the code. If you post it I can take a look. The problem is complicated by the fact that deletion on sata is implicit to some extent because documents are lost as the write pointer crosses over them. However because they are scavenged from the directory, it

SSD support

2011-04-19 Thread 张练
Hello, recently i have written a patch for supporting ssd, see https://cwiki.apache.org/TS/ssdsupport.html. My logic is like following: (1) If not hit in cache, then request from os, and write the response to sata (2) If hit in sata, and need to write content to ram_cache, then writ

Re: SSD support

2011-03-16 Thread 张练
Thank you, John. The Part keeps two Directory, it explains them as Directory A and Directory B, each one contain a header of type PartHeaderFooter, a group of Dir, and a footer of type PartHeaderFooter. I can't understand why Part need to keep two Directories? What is each one's usage? On Tue, Mar

Re: SSD support

2011-03-15 Thread John Plevyak
#2 is a very viable option and could be implemented relatively easily. Here is my proposal. Do not attempt to write full objects into the SSD, instead use it like the RAM cache as a fragment cache. The semantics of a fragment cache are much easier (i.e. just a simple hash table rather than havin

Re: SSD support

2011-03-15 Thread 张练
I was not watching the hash build process of the collection of structure Part, and i think the method proposed need to be improved. On Tue, Mar 15, 2011 at 11:06 AM, 张练 wrote: > In https://cwiki.apache.org/TS/ssdsupport.html, we proposed our > demands. > In irc log jplevyakg proposed t

SSD support

2011-03-14 Thread 张练
In https://cwiki.apache.org/TS/ssdsupport.html, we proposed our demands. In irc log jplevyakg proposed three ways for supporting ssd cache. 1) attach to the RAM cache to store the objects. That would be lower CPU and would lean hard on the SSD and would use RAM to get a decent repla