Whoops, should've looked at the attached source. In general a profiler is going to tell you what's taking time far better than we will. Josh On Fri, Apr 16, 2010 at 12:33 PM, Dejan Pangercic wrote: > Hi Josh, > > I did not do profiling yet. However, since I read the image only once > when I start the program and then publish it from the memory, it can > not be harddrive. > D. > > On Fri, Apr 16, 2010 at 9:00 PM, Josh Faust > wrote: > > Have you tried profiling it to see where the time is being spent, and > where > > the bottleneck is? 1.8MB * 30 = 54MB/sec, which could actually be > > harddrive-limited depending on the drive you're reading from. > > > > Josh > > > > On Fri, Apr 16, 2010 at 11:26 AM, Dejan Pangercic > > wrote: > >> > >> Hi there, > >> > >> I using an attached program to read an image from a disk and to then > >> continously publish it on an image topic at 30 fps. On _one_ machine > >> over loopback. When I tried it with a 1608x1236+0+0 color image > >> (1.8MB) and then used rostopic hz to display the publishing rate of > >> topic, > >> the most that I got was around 12, 13 Hz. > >> Any idea what would cause such a low performance? At what rates and > >> sizes do you folks usually send images around? > >> > >> thx and cheers, D. > >> > >> -- > >> MSc. Dejan Pangercic > >> PhD Student/Researcher > >> Computer Science IX > >> Technische Universität München > >> Telephone: +49 (89) 289-17780 > >> E-Mail: dejan.pangercic@in.tum.de > >> WWW: http://ias.cs.tum.edu/people/pangercic > >> > >> _______________________________________________ > >> ros-users mailing list > >> ros-users@code.ros.org > >> https://code.ros.org/mailman/listinfo/ros-users > >> > > > > > > _______________________________________________ > > ros-users mailing list > > ros-users@code.ros.org > > https://code.ros.org/mailman/listinfo/ros-users > > > > > > > > -- > MSc. Dejan Pangercic > PhD Student/Researcher > Computer Science IX > Technische Universität München > Telephone: +49 (89) 289-17780 > E-Mail: dejan.pangercic@in.tum.de > WWW: http://ias.cs.tum.edu/people/pangercic > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users >