Pentium Xeon on Linux and Pentium 4 on FreeBSD... well that's already tell the different whatever you install and compare any service on both OS.. Xeon probably scale better... cheers, irfan dp On Sat, 17 Sep 2005 11:40:19 +0545, Nitin Sharma <nitin@xxxxxxxxxxxxx> wrote: > Thanks for all the responses. > > I think the load on my freebsd is less than my linux box. also the cpu > information for both of my boxes are attached .. i dont think there is > much difference. > > ---- " Have you checked your duplex settings " ----- how do i do that ???? > > The two boxes are not the same .. > > linux rh9 ===> : GenuineIntel cpu family : 15 model : 2 > model name : Intel(R) Xeon(TM) CPU 2.80GHz stepping : 9 cpu > MHz : 2790.839 > Mem: 1055567872 > Swap: 2368839680 > MemTotal: 1030828 kB > MemFree: 8680 kB > > freebsd ==> CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.20-MHz > 686-class CPU) cpu0: <ACPI CPU> on acpi0 > real memory = 1056108544 (1007 MB) > avail memory = 1023905792 (976 MB) > agp0: detected 16252k stolen memory > hw.physmem: 1047162880 > hw.usermem: 944418816 > hw.cbb.start_memory: 2281701376 > > RED HAT LINUX 9 > Connection information for squid: > Number of clients accessing cache: 344 > Number of HTTP requests received: 19122865 > Number of ICP messages received: 5652134 > Number of ICP messages sent: 5652761 > Number of queued ICP replies: 0 > Request failure ratio: 0.00 > Average HTTP requests per minute since start: 699.8 > Average ICP messages per minute since start: 413.7 > Select loop called: 221061278 times, 7.416 ms avg > Cache information for squid: > Request Hit Ratios: 5min: 55.3%, 60min: 50.7% > Byte Hit Ratios: 5min: 26.1%, 60min: 22.3% > Request Memory Hit Ratios: 5min: 17.8%, 60min: 15.3% > Request Disk Hit Ratios: 5min: 27.8%, 60min: 33.3% > Storage Swap size: 42565292 KB > Storage Mem size: 130892 KB > Mean Object Size: 14.39 KB > Requests given to unlinkd: 0 > Median Service Times (seconds) 5 min 60 min: > HTTP Requests (All): 0.06286 0.46965 > Cache Misses: 1.31166 1.24267 > Cache Hits: 0.01387 0.01745 > Near Hits: 1.38447 1.38447 > Not-Modified Replies: 0.01309 0.01309 > DNS Lookups: 0.00278 0.00278 > ICP Queries: 0.00000 0.00196 > Resource usage for squid: > UP Time: 1639470.149 seconds > CPU Time: 130797.700 seconds > CPU Usage: 7.98% > CPU Usage, 5 minute avg: 9.54% > CPU Usage, 60 minute avg: 7.98% > Process Data Segment Size via sbrk(): 484417 KB > Maximum Resident Size: 0 KB > Page faults with physical i/o: 365556 > Memory usage for squid via mallinfo(): > Total space in arena: 484417 KB > Ordinary blocks: 474906 KB 529161 blks > Small blocks: 0 KB 0 blks > Holding blocks: 16484 KB 8 blks > Free Small blocks: 0 KB > Free Ordinary blocks: 9510 KB > Total in use: 491390 KB 98% > Total free: 9510 KB 2% > Total size: 500901 KB > Memory accounted for: > Total accounted: 339076 KB > memPoolAlloc calls: 2179037905 > memPoolFree calls: 2172629906 > File descriptor usage for squid: > Maximum number of file descriptors: 8192 > Largest file desc currently in use: 664 > Number of file desc currently in use: 445 > Files queued for open: 0 > Available number of file descriptors: 7747 > Reserved number of file descriptors: 100 > Store Disk files open: 0 > Internal Data Structures: > 2979223 StoreEntries > 26663 StoreEntries with MemObjects > 26595 Hot Object Cache Items > 2957887 on-disk objects > > > > FREEBSD 5.3 > Connection information for squid: > Number of clients accessing cache: 102 > Number of HTTP requests received: 7326 > Number of ICP messages received: 4411 > Number of ICP messages sent: 4411 > Number of queued ICP replies: 0 > Request failure ratio: 0.00 > Average HTTP requests per minute since start: 633.1 > Average ICP messages per minute since start: 762.4 > Select loop called: 116002 times, 5.985 ms avg > Cache information for squid: > Request Hit Ratios: 5min: 24.9%, 60min: 27.1% > Byte Hit Ratios: 5min: 11.5%, 60min: 11.6% > Request Memory Hit Ratios: 5min: 4.0%, 60min: 3.0% > Request Disk Hit Ratios: 5min: 32.1%, 60min: 34.0% > Storage Swap size: 1975008 KB > Storage Mem size: 11088 KB > Mean Object Size: 12.00 KB > Requests given to unlinkd: 0 > Median Service Times (seconds) 5 min 60 min: > HTTP Requests (All): 1.17732 1.17732 > Cache Misses: 1.31166 1.31166 > Cache Hits: 0.01098 0.01745 > Near Hits: 1.17732 1.17732 > Not-Modified Replies: 0.00678 0.00919 > DNS Lookups: 0.00278 0.00278 > ICP Queries: 0.00196 0.00196 > Resource usage for squid: > UP Time: 694.254 seconds > CPU Time: 39.081 seconds > CPU Usage: 5.63% > CPU Usage, 5 minute avg: 5.52% > CPU Usage, 60 minute avg: 5.58% > Process Data Segment Size via sbrk(): 47504 KB > Maximum Resident Size: 50144 KB > Page faults with physical i/o: 3 > Memory accounted for: > Total accounted: 23902 KB > memPoolAlloc calls: 1575824 > memPoolFree calls: 1209302 > File descriptor usage for squid: > Maximum number of file descriptors: 6976 > Largest file desc currently in use: 350 > Number of file desc currently in use: 318 > Files queued for open: 0 > Available number of file descriptors: 6658 > Reserved number of file descriptors: 100 > Store Disk files open: 0 > Internal Data Structures: > 164696 StoreEntries > 1481 StoreEntries with MemObjects > 1449 Hot Object Cache Items > 164619 on-disk objects > > > i have reiserfs on my linux box .. whereas in freebsd its my usual > freebsd partition. > > Please guide me into some possible discrepancy factors.. such that it > would help me tune my box for better performances.. > > Yet another thing, i have GRE tunnel which intercepts the WCCP packet > from my router and i have used ipfw for the purpose. ( in freebsd box) > > Thanks > > Nitin > > > > Matus UHLAR - fantomas wrote: > > >On 16.09 20:18, Nitin Sharma wrote: > > > > > >>i have two boxes .. with SQUID Version 2.5.STABLE10. > >> > >>the linux box has (rh 9) > >>Median Service Times (seconds) 5 min 60 min: > >> HTTP Requests (All): 0.06286 0.46965 > >> > >>whereas the freebsd box has (freebsd 5.3) > >>Median Service Times (seconds) 5 min 60 min: > >> HTTP Requests (All): 1.17732 1.17732 > >> > >>both of my system have 1 GB RAM.. > >>squid is transparent and with diskd support. > >> > >> > > > >linux can, freebsd5 probably can too handle aufs. it should be faster than > >diskd. > > > >however we don't know how many requests do they handle per minute... > > > > > > > >>what might be the factors for such discrepancies ?? > >> > >> > > > >many possible factors. not enough informations :) > > > > > > > >>i compiled squid in a freebsd box for better performance with some kernel > >>tunings. > >> > >> > > > > > > > >