Les nouveautés et Tutoriels de Votre Codeur | SEO | Création de site web | Création de logiciel

seo WindowBuilder becomes new open source project with major code contribution to Eclipse Foundation 2013

Seo Master present to you:

When Google acquired Instantiations in August 2010, everyone knew about our Java Eclipse products. Shortly after we joined, we talked about how best to help developers now that we are part of Google. We have always wanted to get these tools in more developers’ hands. So, back in September we decided to give them away for free! The community response has been fantastic. With that done, we asked ourselves, how could we make a good thing even better? How about by open sourcing the code and creating two new Eclipse projects!

Today we are announcing Google’s donation of the source code and IP for two of these products to the open source community through the Eclipse Foundation. This donation includes WindowBuilder, the leading Eclipse Java GUI Designer, and CodePro Profiler, which identifies Java code performance issues. Specifically, the WindowBuilder Engine and designers for SWT and Swing. All in all, this is a value of more than $5 million dollars worth of code and IP.

The Eclipse Foundation’s Executive Director, Mike Milinkovich, states that, “this is clearly a significant new project announcement, and very good news for Java developers using Eclipse. It has been impressive to see the continued growth and popularity of WindowBuilder, as this product has always filled a much needed gap in the Eclipse offerings. We look forward to it appearing in an Eclipse release soon. We’re very pleased with Google’s generous support of Eclipse, and the Java developer community around the world.”

One of the exciting aspects of innovating in the open source arena is that customers benefit from a full community. We are very excited to see the diverse collection of companies and individuals that have already expressed an interest in contributing to these projects. Commercial level support is important to many customers. Genuitec, makers of MyEclipse, intends to offer commercial support for the various WindowBuilder based products including the SWT, Swing Designer and even the GWT Designer from Google. Please sign up on the Genuitec site for more information. Similarly, OnPositive intends to offer commercial support for CodePro Profiler, as well as lead as the committers on the Eclipse Community Project. Sign up on the OnPositive site for more information.

"Genuitec is pleased to offer commercial support for WindowBuilder-based products - Swing, SWT and GWT - in early 2011 for companies who wish to continue a paid support contract once their Google support expires. We've been involved with the Eclipse Foundation since the beginning, so we are very familiar with these products. Thus, providing commercial support for this product line is a natural fit for us," said Maher Masri, President of Genuitec.

“Over the years OnPositive has built up unique experience with the CodePro Profiler and we are excited to offer commercial support for it. Google’s donation ensures that Java developers can build faster applications,” said Pavel Petrochenko, President of OnPositive.

WindowBuilder
WindowBuilder is regarded as the leading GUI builder in the Java community (winning the award for Best Commercial Eclipse Tool in 2009). It includes powerful functionality for creating user interfaces based on the popular Swing, SWT (Standard Widget Toolkit), GWT (Google Web Toolkit), RCP and XWT UI frameworks.

CodePro Profiler
CodePro Profiler is an Eclipse-based Java application profiling tool that helps developers identify performance issues early in the development cycle and find CPU and algorithmic bottlenecks, memory leaks, threading issues, and other concurrency-related problems that can slow down an application or cause it to hang.

Both WindowBuilder and CodePro Profiler will become Eclipse projects in the first half of 2011. Once each one is set up as a project and available for download from the Eclipse site, the products will be accessible to use as open source code under the the standard Eclipse license. I am looking forward to leading the WindowBuilder project.

If you have any questions, you can learn more at this FAQ or we look forward to hearing from you on the forums.

2013, By: Seo Master

seo Happy holidays from Google Code! 2013

Seo Master present to you: Matt Hansen

At Google Code, we are getting into the holiday spirit early. To thank open source developers for their support, I'm happy to announce that we are giving every project on Google Code a whole lot more quota!

We're increasing the maximum file sizes from 20MB to 40MB, Subversion quotas from 100MB to 1GB, and download quotas from 100MB to 2GB.
Happy holidays!

P.S. If you need more space, let us know!
2013, By: Seo Master

seo Keeping OpenSSL up-to-date 2013

Seo Master present to you:

OpenSSL is perhaps the most widely used of all cryptographic libraries, both in the open source world and by commercial enterprises. The OpenSSL team is often approached by such enterprises seeking assistance with specific problems or features of particular interest to that enterprise. Less often they are approached by a sponsor with a technical need and the vision to address that need in a way that benefits the open source community as a whole.

OSSI has had a long association with OpenSSL, beginning with work over a five year period on the groundbreaking FIPS 140-2 validation of an OpenSSL derived crypto library (implemented largely by Googler Ben Laurie) and continuing with additional validations currently underway with extensive improvements by Dr. Stephen Henson and others. We were pleased to help facilitate Google's sponsorship of RFC4507 support to OpenSSL.

RFC 4507, also known as “stateless session resumption,” is a relatively new draft standard for a mechanism that enables a secure web (TLS) server to resume sessions without explicitly preserving per-client session state. The TLS server encapsulates the session state into a ticket that is preserved in encrypted form and subsequently provided to a client. That client can then resume the previous session using the information in that ticket, avoiding the need for the full TLS negotiation.

This mechanism may be used with any TLS ciphersuite. It makes use of TLS extensions defined in RFC4366 and defines a new TLS message type.

Stateless session resumption is of particular value in the following situations:

  1. For servers that handle a large volume of transactions from many users

  2. For servers that must cache sessions for a long time

  3. For load balancing requests across servers

  4. For embedded servers with little memory


As an added bonus, RFC4366 support includes the Server Name Indication extension, which allows browsers to specify a server name when connecting to an SSL host. This means that SSL hosts can finally use name-based virtual hosting instead of burning an IP address per host.

The implementation in OpenSSL and the interoperability testing were performed by Steve Henson. This support is available in both the current 0.9.8 product branch and in the development trunk (0.9.9).2013, By: Seo Master

seo Increased code search coverage, now with Git and Mercurial support 2013

Seo Master present to you: Ali Pasha

At Google Code search, we've seen distributed version control systems get more popular. Linux has been using one for several years and several large open source projects have migrated to using one in the last few years. In recognition of that, we are now announcing that we crawl Git and Mercurial repositories.

For Git, we now crawl repositories hosted by several public git hosting sites including GitHub and repo.or.cz. In addition to that, we also crawl Android, Chromium and Linux code.
For Mercurial repositories, we now crawl most popular open source repositories including Mozilla, JDK, and NetBeans.
Finally, we have also extended coverage to support Codeplex: System.ServiceModel package:codeplex.com

Feel free to provide feedback to let us know how we're doing.2013, By: Seo Master

seo Native Client: A Technology for Running Native Code on the Web 2013

Seo Master present to you: By Brad Chen, Native Client Team

Modern PCs can execute billions of instructions per second, but today's web applications can access only a small fraction of this computational power. If web developers could use all of this power, just imagine the rich, dynamic experiences they could create. At Google we're always trying to make the web a better platform. That's why we're working on Native Client, a technology that aims to give web developers access to the full power of the client's CPU while maintaining the browser neutrality, OS portability and safety that people expect from web applications. Today, we're sharing our technology with the research and security communities in the hopes that they will help us make this technology more useful and more secure.

At its core, our release consists of a runtime, a browser plugin, and a set of GCC-based compilation tools. Together, these components make it possible to build applications that run in a web browser but incorporate native code modules. To help protect users from malware and to maintain portability, we have defined strict rules for valid modules. At a high level, these rules specify 1) that all modules meet a set of structural criteria that make it possible to reliably disassemble them into instructions and 2) that modules may not contain certain instruction sequences. This framework aims to enable our runtime to detect and prevent potentially dangerous code from running and spreading. We realize that making this technology safe is a considerable challenge. That's why we are open sourcing it at an early stage: we believe that peer review, community feedback, and public scrutiny greatly improve the quality of security technologies like this one.

While it's a big challenge to secure Native Client, we believe that the ability to safely run fast native code in a browser has the potential to provide benefits to users and developers. For example, imagine that you run a photo-sharing website and want to let your users touch up their photos without leaving your site. Today, you could provide this feature using a combination of JavaScript and server side processing. This approach, however, would cause huge amounts of image data to be transferred between browser and the server, leading to an experience that would probably be painfully slow for users who just want to make a few simple changes. With the ability to seamlessly run native code on the user's machine, you could instead perform the actual image processing on the desktop CPU, resulting in a much more responsive application by minimizing data transfer and latency.

To learn more and help test Native Client, please visit our developer site. There you can read our documentation and the Native Client research paper, browse the source code, and download the research release. The release contains the experimental compilation tools and runtime so that you can write and run portable code modules that will work in Firefox, Safari, Opera, and Google Chrome on any modern Windows, Mac, or Linux system that has an x86 processor. We're working on supporting other CPU architectures (such as ARM and PPC) to make this technology work on the many types of devices that connect to the web today.

Once you've gotten your bearings, please report any bugs you find (especially security bugs) using our issue tracker, and join our Google Group to share your thoughts on the technology. We look forward to your feedback!2013, By: Seo Master

seo Open Source in Zurich with vigor and Vim 2013

Seo Master present to you:

Looking for a cool place to hack with like-minded colleagues? Going to be in or around Zurich on December 13th? If so, please join us for our inaugural Open Source Jam held at Google Switzerland. We'll provide the hacking lounge, Wi-Fi, pizza, beer and the creator of the Vim text editor, Bram Moolenaar. You supply your laptop, good ideas and community spirit.

You can find full details and information on how to register in our Open Source Jam Zurich Google Group. If you haven't already done so, please join the group and let us know your thoughts. And if you happen to attend the event, post a comment and let us know how it went.2013, By: Seo Master

seo In just seven days 2013

Seo Master present to you:

We announced the Google Highly Open Participation Contest a little over a week ago, and the response has been phenomenal. We already have over 350 student contributors, and the participating organizations have let us know that they're overwhelmed by all the great contributions they've received from their contestants. We're delighted to bring you this video status update, with an extra treat: Guido van Rossum, the creator of Python, stopped in to tell us a little bit more about the Python Software Foundation's participation in the contest.



We always love to hear from you, so feel free to contribute some task ideas and join the contest discussion list.2013, By: Seo Master

seo It's here: the Google Highly Open Participation Contest 2013

Seo Master present to you:

The Google Summer of Code program has been a joint labor of love between Google and the open source community for the past three years, and the results have been spectacular: hundreds of college students have been introduced to open source software, thousands of people across the globe have begun development together and millions of lines of open code have been produced, 4 million last year alone. We've been particularly proud of this program and how much it has helped the community and we've spent a lot of time thinking about ways we can continue helping open source projects find even more contributors. Today, we're pleased to announce the Google Highly Open Participation Contest, our new effort to get pre-university students involved in all aspects of open source development, from fixing bugs to writing documentation and doing user experience research.

While we're very excited about many aspects of the contest, the best part is that everyone can participate. Contestants must meet the eligibility requirements, but anyone interested in helping out can simply suggest a task to be included in the contest. Our contestants have a chance to win t-shirts, cash prizes, and a visit the Googleplex for a day of technical talks, delicious food and a photo with our very own Stan T. Rex.

Want to learn more? Check out the contest FAQs and tell your favorite pre-college students to pick a task or two to complete. You can always visit our discussion group to get help or share your thoughts.

Update: Fixed the broken links.2013, By: Seo Master

seo ZXing 1d/2d Barcode decoding source code released 2013

Seo Master present to you:

Recently in the New York Times, we placed a small graphic as part of a Google Print Ad. You aren't looking at one of those eye focus games (It's a sailboat! Or a shark!) but a two-dimensional barcode. Those of us who already know what it is pulled out our phones and "clicked" it with the camera, and were connected to the advertiser's web site. "Wha?", you say? See http://www.google.com/printads/barcode. While this kind of thing has been a common sight in Asia for years, this ad is one of many signs that the technology is arriving in Europe and North America.

But Advertising is only part of the story here. Engineering is also involved and we want to improve the quality and availability of barcode reader software available to developers and end users. So today I would like to announce the "ZXing" (from: "zebra crossing") project, an open-source, Java, multi-format 1D/2D barcode reader which can be built into a reader application for Java and Java ME -- and later, Android.

This project began as a 20% project and is not yet complete, so opening it up is a bit of an experiment. It's not yet the Best Barcode Reader Ever, but it's looking pretty good. For now we want to find those those who can make use of and help improve what's here, so that those good ideas are shared to all developers and everybody wins.

Developers can find the ZXing project on Google Code, and we hope you'll join us on our Google Group and tell us about what you like and don't like about the code.2013, By: Seo Master

seo Google Code-in 2012 contest starts today 2013

Seo Master present to you: By Stephanie Taylor, Open Source Programs

Cross-posted with the Google Open Source Blog

… and Go! The Google Code-in 2012 contest has officially started!  If you are a 13-17 year old pre-university (high school) student interested in computer science who would like to learn more about open source software development while earning cool prizes, sign up on our program site today.  Students have the opportunity to select tasks from 5 categories (coding, documentation/training, quality assurance, research/outreach and user interface) that are designed by 10 open source organizations that will provide mentors for the students.  Students earn certificates, t-shirts and Grand Prize Winners will win a trip for themselves and a parent or legal guardian to Google’s Mountain View California campus in 2013. Each of the 10 open source organizations will choose 2 of the 5 students that complete the most tasks with their organization as their Grand Prize Winners for a total of 20 Grand Prize Winners for Google Code-in 2012- that’s twice as many Grand Prize Winners as last year!


Last year, 542 students from 56 countries competed in the contest: this year you could be one of the students from around the world learning new skills and making new friends by experiencing the awesome world of open source development.

If you’d like to sign up, please review the Contest Rules and Frequently Asked Questions (FAQ) on our program site. You can join our discussion list to ask any other questions. For details on important dates for the contest, see the calendar. If you meet the eligibility requirements you can create your account on the program site and start claiming tasks today!

Join us today, Nov 26th, as members of Google’s Open Source Programs Office host a Live Google Code-in Hangout on Air on the Google Education page at 2pm PST to discuss details of the contest and to answer questions from viewers. If you can’t make the live Hangout on Air it will be recorded and posted on our Google Open Source Student Programs YouTube Channel within a couple of days.

The contest ends on January 14, 2013 so start claiming tasks today.  Good luck and have fun!


Written by Stephanie Taylor, Open Source Programs

Posted by Scott Knaster, Editor
2013, By: Seo Master

seo The latest addition to Google's open source projects 2013

Seo Master present to you: Did you know Google has released more than 300 open source projects to date? Yesterday, we announced the latest addition to Google's open source projects - YouTube Direct, a new tool that enables any developer to solicit video submissions, moderate and display them on their website, all powered by YouTube. We recognize the role that open source plays at Google and how it helps us create better applications and we try to give back to the community as much as possible.

YouTube Direct was built on top of YouTube's public APIs and is designed to run on Google App Engine - Google's highly scalable platform. To date, several media organizations like ABC News, The Huffington Post and Politico have taken advantage of the open platform to deploy their own version of YouTube Direct to empower citizen journalism and enrich their site in the process. We look forward to see for more creative usage of the tool.

2013, By: Seo Master

seo Introducing AxsJAX -- Access-Enabling AJAX 2013

Seo Master present to you:

As the developer behind Fire Vox I've always wanted to make AJAX web applications truly usable for the blind and visually impaired. The challenge is that these users have to deal with a much higher learning curve than sighted users. Instead of simply learning the controls for a web application, they have to also learn how to get their assistive technology of choice to go to the interesting parts of that application to find out what is currently there.

When I started as a Noogler, I was extraordinarily impressed with the tools that T.V. Raman had built into Emacspeak for efficiently performing specific tasks. An insight that I gained from watching him use Emacspeak is that the application should just say the right thing in response to user actions; users should not have to do an action in the application and then use their assistive technology to go hunting around the screen to figure out what happened.

In my first week at Google, I discovered Google Reader a highly optimized feed reader with very good keyboard support. For my starter project at Google, I decided to access-enable this application using W3C ARIA. Using Greasemonkey, I could inject JavaScript code to add the needed ARIA bits to make Google Reader say the right things at the right time.

Connecting The Dots

Based on the experience of access-enabling Reader, we have now refactored the code to come up with a common JavaScript framework for enhancing the accessibility of AJAX applications. This framework is called AxsJAX, and it was refined in the process of access-enabling Web Search.

We're now excited to open-source this framework since we believe that there is nothing Google-specific in the techniques we have implemented. We invite the Web developer community to help us collectively define a robust framework for rapid prototyping of accessibility enhancements to Web 2.0 applications.

The ability to rapidly prototype end-user interaction has led to an explosion in the number of AJAX applications; until now, visually impaired users have been left behind in this process. We hope that the AxsJAX framework encourages the Web community to bring the power of Web 2.0 development to solving the problem of accessing rich Web interaction in an eyes-free environment.2013, By: Seo Master

seo Go: A New Programming Language 2013

Seo Master present to you: Have you heard about Go? We released a new, experimental systems programming language today. It is open source and we're excited about sharing it with the development community. For more information, check out the Google Open Source blog.

2013, By: Seo Master

seo nsscache: open source named services system release 2013

Seo Master present to you:

Remember remember the fifth of november, especially if you have to manage unix Named Services (NSS) on a lot of workstations! We're releasing a small python utility, called nsscache, that is used to cache remote NSS maps locally on a given host. Combined with cron, it provides a simple and effective way to remove a critical network dependency from your hosts and potentially speed things up a bit.

You'd be surprised how upset a system can get with a slow, unresponsive, or missing NSS.

This initial release supports pulling passwd, shadow, and group maps from an RFC 2307 LDAP schema and storing them in either nssdb or flat text files. In a wee bit, we'll also release support for netgroup and automount maps as well. The utility is fairly plug and play; our hope is that folks who use it with other data sources (sql databases, soap, etc) and possibly other data stores will extend our codebase and share their extensions with the rest of the open source community.

Why you may be interested?

As soon as you have more than one machine in your network, you want to share usernames between those systems. Linux administrators have been brought up on the convention of LDAP or NIS as a directory service, and /etc/nsswitch.conf, nss_ldap.so, and nscd to manage their nameservice lookups.

Even small networks will have experienced intermittent name lookup failures, such as a mail receiver sometimes returning "User not found" on a mailbox destination because of a slow socket over a congested network, or erratic cache behaviour by nscd. To combat this problem, we have separated the network from the NSS lookup codepath, instead using an asynchronous cron job and a glorified script, improving the speed and reliability of NSS lookups.

We'll be giving a small presentation about our motivations and experiences at the upcoming linux.conf.au event in Melbourne Australia, if you happen to be down under in February!2013, By: Seo Master

seo Google Hosts CIFS Workshop 2013

Seo Master present to you:

Around sixty developers from over twenty different companies converged on Google's Mountain View Campus at the end of September to sample the free food. Oh yes, and also to test their implementations of the CIFS network protocol for interoperability.

CIFS, the Common Internet File System (that's Windows Networking to you and me), is the file sharing protocol build into all Windows versions, and also MacOS X, Linux, HPUX and now Solaris clients. Samba is the best known Free Software implementation of CIFS, and most of the Samba Team were there to help improve Samba3 and Samba4's interoperability along with the other CIFS vendors.

Over the three days much code was written, much beer was drunk, and the air was turned blue with cursing when bugs were found! As the Samba Team were mentoring several Google Summer of CodeTM students, we also got to record a podcast about our experiences participating in the program over the past three years.

Thanks to Google for hosting the event and setting up the gigabit networking required. The endless coffee supply was also essential when dealing with network protocol problems.

The best summary of the success of our testing occurred on the final day of the event, when a sad and frustrated CIFS client programmer wrote the following on our testing notes whiteboard:

"the server *hates* me :-) :-)"

It was great to see everyone coming together, even people from competing companies, to help fix problems with everyone's implementations of CIFS. Look for the resulting improvements in new versions of products and future releases of Samba.


The Samba Team takes a break during the CIFS Workshop.

(Photo Credit: Leslie Hawthorn)
2013, By: Seo Master

seo Updates from the I Free Software Forum 2013

Seo Master present to you:

I recently traveled to the I Free Software Forum in Lisbon, Portugal, where I gave two talks. The first was on load balancing and the second focused on "Google e o Software Livre" (Google and Free Software). The main organizer of the conference was Ralf Braga, an old friend of mine from Brazil, who moved to Lisbon few months ago.

Both of the talks were well attended, which was great. During my load balancing talk, I covered things I found out while testing Linux Virtual Server and HAProxy, two open source software load balancing solutions. I explained a bit about the basics of load balancing, and then the pros and cons of each approach.

Lisbon is a very beautiful city. Everyone was chatting about the amazing growth of conferences about "Software Livre" in that country. There will be a total of 6 conferences about open source software around Portugal in just the next few months.

There were around of 200 people attending two simultaneous rooms of talks over two days, and most attendees were university students. One of the sponsors prepared the table for their booth in the same shape as the Ubuntu logo. Really cool. They also had Ubuntu pillows. Do we have Google Code pillows? We should. :)

The organizers are planning the second edition of the conference for next year already. I proposed to the participants that each one of them brings at least one friend who has never been to an free software conference before with them when they return. I know I'm already looking forward to going in 2008!

(The I Free Software Forum site is in Portugese. You can read an English translation.)2013, By: Seo Master

seo KDE 4.0 Release Party at Google HQ 2013

Seo Master present to you:

When we met Sebas at the Ubuntu Developer Summit last November, he thought the digs were pretty cool and he asked if Google would be willing to host a release party for KDE's upcoming 4.0 launch. Since Sebas seemed like such a nice chap and we love hosting open sourcerers, we said "Hey, why not?"

While the KDE development team has been hard at work preparing Betas, we've been collaborating with the project's outreach team on details for the release party. The release party, along with typical conference activities like presentations and BoFs, will be rockin' at Google Corporate Headquarters January 17-19, 2008.

If you're looking for more information on the event, check out Troy Unrau's blog. Rumor has it that that KDE e.V., the non-profit organization behind the KDE project, will even fly one lucky KDE community member out for the release party.

We hope to see you there!2013, By: Seo Master

seo Google Code-in: Are you in? 2013

Seo Master present to you:
By Carol Smith, Google Code-in Program Manager, Open Source Team

Cross-posted from the Google Open Source Blog


Listen up, future coders of the world: today we’re launching the second annual Google Code-in competition, an open source development contest for 13-17 year old students around the world. The purpose of the Google Code-in competition is to give students everywhere an opportunity to explore the world of open source development. We not only run open source software throughout our business, we also value the way the open source model encourages people to work together on shared goals over the Internet.

Open source development involves much more than just computer programming, and the Google Code-in competition reflects that by having lots of different tasks to choose from. We organize the tasks into eight major categories:

1. Code: Writing or refactoring code
2. Documentation: Creating and editing documents
3. Outreach: Community management and outreach, as well as marketing
4. Quality Assurance: Testing and ensuring code is of high quality
5. Research: Studying a problem and recommending solutions
6. Training: Helping others learn more
7. Translation: Localization (adapting code to your region and language)
8. User interface: User experience research or user interface design and interaction

On November 9, we’ll announce the participating mentoring organizations. Mentoring organizations are open source software organizations chosen from a pool of applicants who have participated in our Google Summer of Code program in the past. Last year we had 20 organizations participate.

Last year’s competition drew 361 participating students from 48 countries, who worked for two months on a wide variety of brain-teasing tasks ranging from coding to video editing, all in support of open source software. In January, we announced the 14 grand prize winners, who we flew to our headquarters in Mountain View, California to enjoy a day talking to Google engineers and learning what it’s like to work at Google, and another day enjoying the northern California sights and sun.

Visit the Frequently Asked Questions page on the Google Code-in site for more details on how to sign up and participate. Our goal this year is to have even more pre-university students in the contest than last time around, so help us spread the word, too.

Stay tuned to the contest site and subscribe to our mailing list for more updates on the contest. The Google Code-in contest starts on November 21, 2011, and we look forward to seeing the clever and creative ways all of the participants tackle their open source challenges.


Carol Smith is Google Code-in Program Manager, Open Source Team

Posted by Scott Knaster, Editor
2013, By: Seo Master

seo Sigurd Magnusson of SilverStripe on open source and the Summer of Code 2013

Seo Master present to you:

Sigurd Magnusson, co-founder of the SilverStripe open source CMS platform, was in town for the mentor summit that wrapped up the Summer of Code.

We used that opportunity to grab him, put him in a Tiki hut, and chat with him about SilverStripe. We discuss life as an open source company, and the experience and advice based on having ten students enrolled in the summer of code program.

Thanks to Ohloh we have statistics on the code produced by the students. Obviously, the lines of code metric is purely quantitative and doesn't show the actual work involved, but it is great to see how these students have produced:



In the chat below you will hear about some of the really cool additions that SilverStripe has in its trunk thanks to the students.

2013, By: Seo Master

seo Google Sponsors Improvements to FreeBSD's Performance Measurement Toolkit 2013

Seo Master present to you: Most CPUs today have built in performance measurement counters (PMCs) that can measure interesting low-level hardware events such as cache misses, branch mispredicts, and tlb misses. FreeBSD's HWPMC(4) driver "virtualizes" these hardware counters, allowing multiple processes to use them, and for multiple hardware counters to be concurrently active. Both simple counting and sampling (profiling) are supported, along with multi-CPU operation. FreeBSD's performance measurement toolset, PmcTools, is built using HWPMC.

PmcTools helps answer the following broad questions:
  • What is the system doing at this point of time? (e.g. "What hardware events are being seen in unusual numbers?")
  • Which part of the system are the symptoms associated with? (e.g. "Which are the 'hot' locations in the source?")

Recently, Google sponsored the development of an oft requested enhancement to FreeBSD's PmcTools: that of capturing the call chains leading to "hot" locations in the code. Call chains provide additional insight into the behavior of the system; in addition to determining the "hot" locations in the code, developers gain insight into why these locations became "hot" in the first place.

HWPMC and associated userland tools have been invaluable to the FreeBSD community in improving the scalability and performance of the upcoming FreeBSD 7 release. Kris Kennaway of the FreeBSD Project notes that "hwpmc is one of our most powerful tools for measuring and understanding CPU performance on FreeBSD. Support for profiling of call graphs was an important missing piece that will simplify the ability of developers to analyze performance bottlenecks in the kernel and in application code". Kip Macy notes that hwpmc has been invaluable in his 10 Gigabit Ethernet tuning efforts, and Arun Sharma notes that this work was particularly successful because it was quickly merged and is available out of the box to users of FreeBSD.

Check out this latest and greatest addition to PmcTools and let the FreeBSD community know what you think!2013, By: Seo Master
Powered by Blogger.