[jira] [Created] (TS-3355) Compiler warnings from CentOS5

2015-01-31 Thread Leif Hedstrom (JIRA)
Leif Hedstrom created TS-3355:
-

 Summary: Compiler warnings from CentOS5
 Key: TS-3355
 URL: https://issues.apache.org/jira/browse/TS-3355
 Project: Traffic Server
  Issue Type: Bug
  Components: SSL
Reporter: Leif Hedstrom


ccache c++ -DHAVE_CONFIG_H -I. -I../../../iocore/net -I../../lib/ts  
-I../../../iocore/eventsystem -I../../../iocore/net -I../../../iocore/aio 
-I../../../iocore/hostdb -I../../../iocore/cache -I../../../iocore/cluster 
-I../../../iocore/utils -I../../../iocore/dns -I../../../lib -I../../lib 
-I../../../lib/records -I../../../lib/ts -I../../../proxy -I../../../proxy/hdrs 
-I../../../proxy/shared -I../../../mgmt -I../../../mgmt/utils 
-I../../../proxy/api/ts -I../../../proxy/http -Dlinux -D_LARGEFILE64_SOURCE=1 
-D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT -D__STDC_LIMIT_MACROS=1 
-D__STDC_FORMAT_MACROS=1 -I/usr/kerberos/include -DOPENSSL_NO_SSL_INTERN 
-Wunused-parameter -g -pipe -Wall -O3 -feliminate-unused-debug-symbols 
-fno-strict-aliasing -Werror -Wno-invalid-offsetof  -MT SSLNetProcessor.o -MD 
-MP -MF $depbase.Tpo -c -o SSLNetProcessor.o 
../../../iocore/net/SSLNetProcessor.cc &&\
mv -f $depbase.Tpo $depbase.Po
cc1plus: warnings being treated as errors
../../../iocore/net/SSLConfig.cc: In member function 'void 
SSLConfigParams::initialize()':
../../../iocore/net/SSLConfig.cc:265: warning: converting to 'size_t' from 
'double'
make[2]: *** [SSLConfig.o] Error 1




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (TS-3355) Compiler warnings from CentOS5

2015-01-31 Thread Leif Hedstrom (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom reassigned TS-3355:
-

Assignee: Leif Hedstrom

> Compiler warnings from CentOS5
> --
>
> Key: TS-3355
> URL: https://issues.apache.org/jira/browse/TS-3355
> Project: Traffic Server
>  Issue Type: Bug
>  Components: SSL
>Reporter: Leif Hedstrom
>Assignee: Leif Hedstrom
> Fix For: 5.2.1, 5.3.0
>
>
>   ccache c++ -DHAVE_CONFIG_H -I. -I../../../iocore/net -I../../lib/ts  
> -I../../../iocore/eventsystem -I../../../iocore/net -I../../../iocore/aio 
> -I../../../iocore/hostdb -I../../../iocore/cache -I../../../iocore/cluster 
> -I../../../iocore/utils -I../../../iocore/dns -I../../../lib -I../../lib 
> -I../../../lib/records -I../../../lib/ts -I../../../proxy 
> -I../../../proxy/hdrs -I../../../proxy/shared -I../../../mgmt 
> -I../../../mgmt/utils -I../../../proxy/api/ts -I../../../proxy/http -Dlinux 
> -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
> -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -I/usr/kerberos/include 
> -DOPENSSL_NO_SSL_INTERN -Wunused-parameter -g -pipe -Wall -O3 
> -feliminate-unused-debug-symbols -fno-strict-aliasing -Werror 
> -Wno-invalid-offsetof  -MT SSLNetProcessor.o -MD -MP -MF $depbase.Tpo -c -o 
> SSLNetProcessor.o ../../../iocore/net/SSLNetProcessor.cc &&\
>   mv -f $depbase.Tpo $depbase.Po
> cc1plus: warnings being treated as errors
> ../../../iocore/net/SSLConfig.cc: In member function 'void 
> SSLConfigParams::initialize()':
> ../../../iocore/net/SSLConfig.cc:265: warning: converting to 'size_t' from 
> 'double'
> make[2]: *** [SSLConfig.o] Error 1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-3355) Compiler warnings from CentOS5

2015-01-31 Thread Leif Hedstrom (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leif Hedstrom updated TS-3355:
--
Fix Version/s: 5.3.0
   5.2.1

> Compiler warnings from CentOS5
> --
>
> Key: TS-3355
> URL: https://issues.apache.org/jira/browse/TS-3355
> Project: Traffic Server
>  Issue Type: Bug
>  Components: SSL
>Reporter: Leif Hedstrom
>Assignee: Leif Hedstrom
> Fix For: 5.2.1, 5.3.0
>
>
>   ccache c++ -DHAVE_CONFIG_H -I. -I../../../iocore/net -I../../lib/ts  
> -I../../../iocore/eventsystem -I../../../iocore/net -I../../../iocore/aio 
> -I../../../iocore/hostdb -I../../../iocore/cache -I../../../iocore/cluster 
> -I../../../iocore/utils -I../../../iocore/dns -I../../../lib -I../../lib 
> -I../../../lib/records -I../../../lib/ts -I../../../proxy 
> -I../../../proxy/hdrs -I../../../proxy/shared -I../../../mgmt 
> -I../../../mgmt/utils -I../../../proxy/api/ts -I../../../proxy/http -Dlinux 
> -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
> -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -I/usr/kerberos/include 
> -DOPENSSL_NO_SSL_INTERN -Wunused-parameter -g -pipe -Wall -O3 
> -feliminate-unused-debug-symbols -fno-strict-aliasing -Werror 
> -Wno-invalid-offsetof  -MT SSLNetProcessor.o -MD -MP -MF $depbase.Tpo -c -o 
> SSLNetProcessor.o ../../../iocore/net/SSLNetProcessor.cc &&\
>   mv -f $depbase.Tpo $depbase.Po
> cc1plus: warnings being treated as errors
> ../../../iocore/net/SSLConfig.cc: In member function 'void 
> SSLConfigParams::initialize()':
> ../../../iocore/net/SSLConfig.cc:265: warning: converting to 'size_t' from 
> 'double'
> make[2]: *** [SSLConfig.o] Error 1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TS-3355) Compiler warnings from CentOS5

2015-01-31 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=1424#comment-1424
 ] 

ASF subversion and git services commented on TS-3355:
-

Commit e731346ab20ed07f1455c93ffc4c2b1458705af6 in trafficserver's branch 
refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=e731346 ]

TS-3355 Fix compiler warning on CentOS5.


> Compiler warnings from CentOS5
> --
>
> Key: TS-3355
> URL: https://issues.apache.org/jira/browse/TS-3355
> Project: Traffic Server
>  Issue Type: Bug
>  Components: SSL
>Reporter: Leif Hedstrom
>Assignee: Leif Hedstrom
> Fix For: 5.2.1, 5.3.0
>
>
>   ccache c++ -DHAVE_CONFIG_H -I. -I../../../iocore/net -I../../lib/ts  
> -I../../../iocore/eventsystem -I../../../iocore/net -I../../../iocore/aio 
> -I../../../iocore/hostdb -I../../../iocore/cache -I../../../iocore/cluster 
> -I../../../iocore/utils -I../../../iocore/dns -I../../../lib -I../../lib 
> -I../../../lib/records -I../../../lib/ts -I../../../proxy 
> -I../../../proxy/hdrs -I../../../proxy/shared -I../../../mgmt 
> -I../../../mgmt/utils -I../../../proxy/api/ts -I../../../proxy/http -Dlinux 
> -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
> -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -I/usr/kerberos/include 
> -DOPENSSL_NO_SSL_INTERN -Wunused-parameter -g -pipe -Wall -O3 
> -feliminate-unused-debug-symbols -fno-strict-aliasing -Werror 
> -Wno-invalid-offsetof  -MT SSLNetProcessor.o -MD -MP -MF $depbase.Tpo -c -o 
> SSLNetProcessor.o ../../../iocore/net/SSLNetProcessor.cc &&\
>   mv -f $depbase.Tpo $depbase.Po
> cc1plus: warnings being treated as errors
> ../../../iocore/net/SSLConfig.cc: In member function 'void 
> SSLConfigParams::initialize()':
> ../../../iocore/net/SSLConfig.cc:265: warning: converting to 'size_t' from 
> 'double'
> make[2]: *** [SSLConfig.o] Error 1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TS-3355) Compiler warnings from CentOS5

2015-01-31 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300029#comment-14300029
 ] 

ASF subversion and git services commented on TS-3355:
-

Commit 8c9b131c314127f8501c332abc24b9d9e54f42bc in trafficserver's branch 
refs/heads/master from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=8c9b131 ]

TS-3355 Fix compiler warning on CentOS5


> Compiler warnings from CentOS5
> --
>
> Key: TS-3355
> URL: https://issues.apache.org/jira/browse/TS-3355
> Project: Traffic Server
>  Issue Type: Bug
>  Components: SSL
>Reporter: Leif Hedstrom
>Assignee: Leif Hedstrom
> Fix For: 5.2.1, 5.3.0
>
>
>   ccache c++ -DHAVE_CONFIG_H -I. -I../../../iocore/net -I../../lib/ts  
> -I../../../iocore/eventsystem -I../../../iocore/net -I../../../iocore/aio 
> -I../../../iocore/hostdb -I../../../iocore/cache -I../../../iocore/cluster 
> -I../../../iocore/utils -I../../../iocore/dns -I../../../lib -I../../lib 
> -I../../../lib/records -I../../../lib/ts -I../../../proxy 
> -I../../../proxy/hdrs -I../../../proxy/shared -I../../../mgmt 
> -I../../../mgmt/utils -I../../../proxy/api/ts -I../../../proxy/http -Dlinux 
> -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
> -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -I/usr/kerberos/include 
> -DOPENSSL_NO_SSL_INTERN -Wunused-parameter -g -pipe -Wall -O3 
> -feliminate-unused-debug-symbols -fno-strict-aliasing -Werror 
> -Wno-invalid-offsetof  -MT SSLNetProcessor.o -MD -MP -MF $depbase.Tpo -c -o 
> SSLNetProcessor.o ../../../iocore/net/SSLNetProcessor.cc &&\
>   mv -f $depbase.Tpo $depbase.Po
> cc1plus: warnings being treated as errors
> ../../../iocore/net/SSLConfig.cc: In member function 'void 
> SSLConfigParams::initialize()':
> ../../../iocore/net/SSLConfig.cc:265: warning: converting to 'size_t' from 
> 'double'
> make[2]: *** [SSLConfig.o] Error 1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TS-3355) Compiler warnings from CentOS5

2015-01-31 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300034#comment-14300034
 ] 

ASF subversion and git services commented on TS-3355:
-

Commit feb2d30f8f531e059a33ac4b8cfb4cd969031429 in trafficserver's branch 
refs/heads/5.2.x from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=feb2d30 ]

TS-3355 Fix compiler warning on CentOS5


> Compiler warnings from CentOS5
> --
>
> Key: TS-3355
> URL: https://issues.apache.org/jira/browse/TS-3355
> Project: Traffic Server
>  Issue Type: Bug
>  Components: SSL
>Reporter: Leif Hedstrom
>Assignee: Leif Hedstrom
> Fix For: 5.2.1, 5.3.0
>
>
>   ccache c++ -DHAVE_CONFIG_H -I. -I../../../iocore/net -I../../lib/ts  
> -I../../../iocore/eventsystem -I../../../iocore/net -I../../../iocore/aio 
> -I../../../iocore/hostdb -I../../../iocore/cache -I../../../iocore/cluster 
> -I../../../iocore/utils -I../../../iocore/dns -I../../../lib -I../../lib 
> -I../../../lib/records -I../../../lib/ts -I../../../proxy 
> -I../../../proxy/hdrs -I../../../proxy/shared -I../../../mgmt 
> -I../../../mgmt/utils -I../../../proxy/api/ts -I../../../proxy/http -Dlinux 
> -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
> -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -I/usr/kerberos/include 
> -DOPENSSL_NO_SSL_INTERN -Wunused-parameter -g -pipe -Wall -O3 
> -feliminate-unused-debug-symbols -fno-strict-aliasing -Werror 
> -Wno-invalid-offsetof  -MT SSLNetProcessor.o -MD -MP -MF $depbase.Tpo -c -o 
> SSLNetProcessor.o ../../../iocore/net/SSLNetProcessor.cc &&\
>   mv -f $depbase.Tpo $depbase.Po
> cc1plus: warnings being treated as errors
> ../../../iocore/net/SSLConfig.cc: In member function 'void 
> SSLConfigParams::initialize()':
> ../../../iocore/net/SSLConfig.cc:265: warning: converting to 'size_t' from 
> 'double'
> make[2]: *** [SSLConfig.o] Error 1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TS-3355) Compiler warnings from CentOS5

2015-01-31 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300033#comment-14300033
 ] 

ASF subversion and git services commented on TS-3355:
-

Commit 3b872ee94a14e489568d3d8e9a0e9288b05e0b63 in trafficserver's branch 
refs/heads/5.2.x from [~zwoop]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=3b872ee ]

TS-3355 Fix compiler warning on CentOS5.

Conflicts:
CHANGES
iocore/net/SSLConfig.cc


> Compiler warnings from CentOS5
> --
>
> Key: TS-3355
> URL: https://issues.apache.org/jira/browse/TS-3355
> Project: Traffic Server
>  Issue Type: Bug
>  Components: SSL
>Reporter: Leif Hedstrom
>Assignee: Leif Hedstrom
> Fix For: 5.2.1, 5.3.0
>
>
>   ccache c++ -DHAVE_CONFIG_H -I. -I../../../iocore/net -I../../lib/ts  
> -I../../../iocore/eventsystem -I../../../iocore/net -I../../../iocore/aio 
> -I../../../iocore/hostdb -I../../../iocore/cache -I../../../iocore/cluster 
> -I../../../iocore/utils -I../../../iocore/dns -I../../../lib -I../../lib 
> -I../../../lib/records -I../../../lib/ts -I../../../proxy 
> -I../../../proxy/hdrs -I../../../proxy/shared -I../../../mgmt 
> -I../../../mgmt/utils -I../../../proxy/api/ts -I../../../proxy/http -Dlinux 
> -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
> -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -I/usr/kerberos/include 
> -DOPENSSL_NO_SSL_INTERN -Wunused-parameter -g -pipe -Wall -O3 
> -feliminate-unused-debug-symbols -fno-strict-aliasing -Werror 
> -Wno-invalid-offsetof  -MT SSLNetProcessor.o -MD -MP -MF $depbase.Tpo -c -o 
> SSLNetProcessor.o ../../../iocore/net/SSLNetProcessor.cc &&\
>   mv -f $depbase.Tpo $depbase.Po
> cc1plus: warnings being treated as errors
> ../../../iocore/net/SSLConfig.cc: In member function 'void 
> SSLConfigParams::initialize()':
> ../../../iocore/net/SSLConfig.cc:265: warning: converting to 'size_t' from 
> 'double'
> make[2]: *** [SSLConfig.o] Error 1



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (TS-1264) LRU RAM cache not accounting for overhead

2015-01-31 Thread John Plevyak (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Plevyak updated TS-1264:
-
Attachment: ram_cache.patch

> LRU RAM cache not accounting for overhead
> -
>
> Key: TS-1264
> URL: https://issues.apache.org/jira/browse/TS-1264
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Cache
>Affects Versions: 3.1.3
>Reporter: John Plevyak
>Assignee: Leif Hedstrom
>Priority: Minor
> Fix For: 6.0.0
>
> Attachments: ram_cache.patch
>
>
> The CLFUS RAM cache takes its overhead into account when determining how many 
> bytes it is using.  The LRU cache does not, which makes it hard to compare 
> performance between the two and hard to correctly size the LRU RAM cache.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TS-1264) LRU RAM cache not accounting for overhead

2015-01-31 Thread Leif Hedstrom (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300065#comment-14300065
 ] 

Leif Hedstrom commented on TS-1264:
---

[~jplevyak] Should we just commit this? This looks like it's addressing that 
other reported problem too with the bit shifting inconsistency?

> LRU RAM cache not accounting for overhead
> -
>
> Key: TS-1264
> URL: https://issues.apache.org/jira/browse/TS-1264
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Cache
>Affects Versions: 3.1.3
>Reporter: John Plevyak
>Assignee: Leif Hedstrom
>Priority: Minor
> Fix For: 6.0.0
>
> Attachments: ram_cache.patch
>
>
> The CLFUS RAM cache takes its overhead into account when determining how many 
> bytes it is using.  The LRU cache does not, which makes it hard to compare 
> performance between the two and hard to correctly size the LRU RAM cache.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (TS-1264) LRU RAM cache not accounting for overhead

2015-01-31 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-1264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14300069#comment-14300069
 ] 

ASF subversion and git services commented on TS-1264:
-

Commit 893d58d9f7b21689fb185f856f31c56d27636c60 in trafficserver's branch 
refs/heads/master from [~jplevyak]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=893d58d ]

TS-1264: account for overhead in LRU cache.
Add RamCache regression test.
Fix hit accounting for history in CLFUS Ram cache.


> LRU RAM cache not accounting for overhead
> -
>
> Key: TS-1264
> URL: https://issues.apache.org/jira/browse/TS-1264
> Project: Traffic Server
>  Issue Type: Bug
>  Components: Cache
>Affects Versions: 3.1.3
>Reporter: John Plevyak
>Assignee: Leif Hedstrom
>Priority: Minor
> Fix For: 6.0.0
>
> Attachments: ram_cache.patch
>
>
> The CLFUS RAM cache takes its overhead into account when determining how many 
> bytes it is using.  The LRU cache does not, which makes it hard to compare 
> performance between the two and hard to correctly size the LRU RAM cache.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)