You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "mohan_zl (JIRA)" <ji...@apache.org> on 2011/04/21 17:30:06 UTC

[jira] [Created] (TS-745) Support ssd

Support ssd
-----------

                 Key: TS-745
                 URL: https://issues.apache.org/jira/browse/TS-745
             Project: Traffic Server
          Issue Type: New Feature
          Components: Cache
            Reporter: mohan_zl
            Assignee: mohan_zl


A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-745) Support ssd

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443208#comment-13443208 ] 

Zhao Yongming commented on TS-745:
----------------------------------

woo, that will be a tough task. and Wei Jin had make another implement on tiered storage, which is based on 3.0.x tree, codes on: https://gitorious.org/trafficserver/taobao/commits/new_tbtrunk_ssd, without docs as always.

the tiered storage does not work well with multi-volume config for now.

I am still not sure we should move forward to merge it in our office tree or not, although it works perfect for me. in my hardware spec, mem:ssd:sas=1:10:100.

if you guys think the tiered storage is a right way to go, we will merge it into the git master.

thanks
                
> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.3.1
>
>         Attachments: TS-ssd-2.patch, TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-745) Support ssd

Posted by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-745:
-----------------------------

    Fix Version/s:     (was: 3.1.1)
                   3.1.2

Moving these to 3.1.2 for now. please move back if they will be worked on asap for 3.1.1.
                
> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1.2
>
>         Attachments: TS-ssd-2.patch, TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment:     (was: TS-ssd.patch)

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1.0
>
>         Attachments: TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-745) Support ssd

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhao Yongming updated TS-745:
-----------------------------

    Fix Version/s:     (was: 3.3.1)
                   3.3.2
    
> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: weijin
>             Fix For: 3.3.2
>
>         Attachments: TS-ssd-2.patch, TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-745) Support ssd

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-745:
-----------------------------

    Fix Version/s: 3.1

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1
>
>         Attachments: ssd_cache.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038371#comment-13038371 ] 

mohan_zl commented on TS-745:
-----------------------------

In my thoughts, if we use the same CacheVC to write after calling back the user, we can do it before free_CacheVC, but when i did this, i could not pass the function test.

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1
>
>         Attachments: ssd_cache.patch, ssd_cache2.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment: TS-ssd.patch

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1.0
>
>         Attachments: TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056348#comment-13056348 ] 

mohan_zl commented on TS-745:
-----------------------------

I have been testing this patch for some days, and now it looks stable.
1. The created config file storage_ssd.config has the same syntax with the storage.config file, users can use one or more ssd, if there is no storage_ssd.config file or the file have no content, then ssd is disabled.
2. I disable the multi-fragment feature in this version, ssd can save file whose size is between [0, proxy.config.cache.target_fragment_size). In the next step i will consider to add multi-fragment feature.

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1.0
>
>         Attachments: TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment: TS-ssd.patch

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1.0
>
>         Attachments: TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment: TS-ssd.patch

Latest ssd patch.

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1.0
>
>         Attachments: TS-ssd.patch, ssd_cache.patch, ssd_cache2.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TS-745) Support ssd

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zhao Yongming reassigned TS-745:
--------------------------------

    Assignee: weijin  (was: mohan_zl)
    
> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: weijin
>             Fix For: 3.3.1
>
>         Attachments: TS-ssd-2.patch, TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-745) Support ssd

Posted by "John Plevyak (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031254#comment-13031254 ] 

John Plevyak commented on TS-745:
---------------------------------

We should make a branch for this.  Then we could collaborate.  I would also like to simplify locking in the cache by getting rid of the TryLocks for the partition.   This would make it easier to write the SSD code to handle multiple SSDs I think.

What do you think mohan_zl?

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>         Attachments: ssd_cache.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-745) Support ssd

Posted by "Igor Galić (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13443029#comment-13443029 ] 

Igor Galić commented on TS-745:
-------------------------------

Can you please rebase this branch against the current trunk?
                
> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.3.1
>
>         Attachments: TS-ssd-2.patch, TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-745) Support ssd

Posted by "John Plevyak (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13024839#comment-13024839 ] 

John Plevyak commented on TS-745:
---------------------------------

Overall several comments:

1) Once we get it working we need to reorganize the patch so that we avoid code duplication.
2) The limitation of a single SSD is probably overly restrictive.  SSDs are relatively inexpensive now and it is very likely that folks will want to have 1 per disk or better yet some combination of SSD and SATA.
3) The code uses xmalloc to store docs and creates another CacheVC to do the write in the background.  We would be using the various allocators rather than xmalloc and we should be adding states rather than creating another CacheVC.  The write can occur after calling back the user, so there will be no additional latency.
4) The code doesn't seem to have provision for handling multi-fragment documents.  There are some tradeoffs there, but in any case the issues needs to be considered.  Handling of multi-fragment documents requires tighter control over when the write is done and if and when it is successful.  Again, this would indicate we should be doing the write on the same CacheVC in additional states.
5) The code needs to deal collisions after the initial directory is looked up.  Again, this would be easier if the SSD code was operating in the same CacheVC.

Please think about these comments.  Let's use http://codereview.appspot.com/ for detailed reviews.  I have already added traffic server as a repository.  I have imported the patch as well, but I think we still have some design discussion to do before we can get into the details.



> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>         Attachments: ssd_cache.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment: TS-ssd-2.patch

TS-ssd-2.patch correct the log stats, and add a "proxy.config.cache.ram_cache.ssd_percent" variable for ssd. For example, if user has 8G cache, and want ssd use 4G, just set this variable to 50.

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1.1
>
>         Attachments: TS-ssd-2.patch, TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038374#comment-13038374 ] 

mohan_zl commented on TS-745:
-----------------------------

My boss have give me another passport to visit http://codereview.appspot.com/. John, i did not search the traffic server results in this site.

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1
>
>         Attachments: ssd_cache.patch, ssd_cache2.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035178#comment-13035178 ] 

mohan_zl commented on TS-745:
-----------------------------

+1 on a branch. I am busy on preparing ts for online use these days, sorry for looking at this so late.

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1
>
>         Attachments: ssd_cache.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment: ssd_support.patch

The demand is described in https://cwiki.apache.org/TS/ssdsupport.html, now i write a simple patch for supporting ssd. This is obviously a temporary scheme, and now it only supports one ssd plus several sata.

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>         Attachments: ssd_support.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment:     (was: ssd_cache2.patch)

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1.0
>
>         Attachments: TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment:     (was: ssd_cache.patch)

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1.0
>
>         Attachments: TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment:     (was: ssd_support.patch)

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>         Attachments: ssd_cache.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-745) Support ssd

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473016#comment-13473016 ] 

Zhao Yongming commented on TS-745:
----------------------------------

after discuss on the IRC, we'd start to merge and rebase the codes onto git master, and prepare for code review.
                
> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: weijin
>             Fix For: 3.3.1
>
>         Attachments: TS-ssd-2.patch, TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-745) Support ssd

Posted by "Zhao Yongming (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13056420#comment-13056420 ] 

Zhao Yongming commented on TS-745:
----------------------------------

done commit the TS-ssd.patch into branch ssd.

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1.0
>
>         Attachments: TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (TS-745) Support ssd

Posted by "Leif Hedstrom (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033587#comment-13033587 ] 

Leif Hedstrom commented on TS-745:
----------------------------------

+1 on a branch for this, and we'll land it back onto v3.1.

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1
>
>         Attachments: ssd_cache.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment: ssd_cache2.patch

I'm sorry John, maybe we could not use http://codereview.appspot.com/ for detailed reviews, because i am living in a magical country like Korea, i couldn't open that website...
Current changes follow your advices:
(1) Now the new patch delete 146 lines, and add 842 lines. I'm trying to avoid code duplicate
(2) Now the patch support multi SSD, the config file is storage_ssd.config file, and the syntax to add file is the same as storage.config
(3)(4)(5) I now use xmalloc to store and xfree to delete the docs. I don't understand how to use various allocators to malloc and free the docs. Besides, now i also use another CacheVC to write the docs to ssd, because i have no idea to write after calling back the user, so (4) and (5) is not done also.

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1
>
>         Attachments: ssd_cache.patch, ssd_cache2.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment:     (was: ssd_support2.patch)

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>         Attachments: ssd_cache.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040598#comment-13040598 ] 

mohan_zl commented on TS-745:
-----------------------------

I'm considering the multi-fragment problem, i wanna know besides large file examples, when will use multi fragments?

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.1.0
>
>         Attachments: ssd_cache.patch, ssd_cache2.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment: ssd_support2.patch

Add missing file

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>         Attachments: ssd_support.patch, ssd_support2.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (TS-745) Support ssd

Posted by "Leif Hedstrom (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leif Hedstrom updated TS-745:
-----------------------------

    Fix Version/s:     (was: 3.1.5)
                   3.3.0

Moving this out to 3.3.0, please move back to 3.1.4 if this will be worked on *soon*. Also, take a look at what can be closed here please!
                
> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>             Fix For: 3.3.0
>
>         Attachments: TS-ssd-2.patch, TS-ssd.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (TS-745) Support ssd

Posted by "mohan_zl (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/TS-745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mohan_zl updated TS-745:
------------------------

    Attachment: ssd_cache.patch

> Support ssd
> -----------
>
>                 Key: TS-745
>                 URL: https://issues.apache.org/jira/browse/TS-745
>             Project: Traffic Server
>          Issue Type: New Feature
>          Components: Cache
>            Reporter: mohan_zl
>            Assignee: mohan_zl
>         Attachments: ssd_cache.patch
>
>
> A patch for supporting, not work well for a long time with --enable-debug

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira