https://bugzilla.novell.com/show_bug.cgi?id=669679 https://bugzilla.novell.com/show_bug.cgi?id=669679#c0 Summary: [SMBTA] allow precision logging for smbtad / rework smbtad-cache Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: openSUSE 11.3 Status: ASSIGNED Severity: Normal Priority: P5 - None Component: Samba AssignedTo: hhetter@novell.com ReportedBy: hhetter@novell.com QAContact: samba-maintainers@SuSE.de CC: sbogner@suse.de, bgeuken@novell.com, mhaefner@novell.com, bbrunner@novell.com Blocks: 667100 Found By: --- Blocker: --- The development branch of smbtad now contains a new experimental cache subsystem for smbtad. WHY: smbtaquery allows real data mining as smbtad stores every single file operation (can be hundreds of entries for a large file). This will lead to a very large database, that will take long to get through, not only with sqlite3. Naturally, most entries will be created by write/read VFS functions. However, many people don't need to do full data mining, and therefore it would be nice if smbtad could sum up similar VFS functions and do an interpolation over time slices of the data. smbtad would then only store only one entry for the sum of transferred bytes into the database, instead of a few hundred. The database will be much smaller and easier to parse, while the results, for example a query like "usage rw" will reflect nearly the same results. The new cache system will sum up VFS entries for a user specified time slice, which defaults to 5 seconds. The more seconds the user specifies, the less precision will the results have. STATUS: The devel branch of smbtad implements this. The cache is organized as a insertion sorted bi-tree, so it is very fast in finding already fitting entries to sum up. Currently, the cache sums up for 5 seconds, and is then flushed to the database. It works flawless currently, with simple tests using smbclient. TODO: I will create a development version of the SMBTA-Stresstester appliance to give the new cache subsystem a hard time. When it is stable enough, it'll move into master for 1.2.3. User configuration is missing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.